session bean client machine

Hi,

Since this transient information is stored in the session bean, the client doesn't need to store it and potentially waste bandwidth by sending the session bean the same information repeatedly with each call to a session bean method. This bandwidth issue is a big deal when the client is installed on a user's machine that invokes the session bean methods over a phone modem, for example. Bandwidth is also an issue when the data is very large or needs to be sent many times repeatedly.
http://www.javaworld.com/article/2071724/java-web-development/ejb-fundamentals-and-session-beans.html?page=3
I am reading as above. I wonder what it means by client is installed on user machine and phone modem bandwidth issue.
Mostly clients are on user machines right?
what is the alternate to stateful session bean in that case when they want to maintain the state?
Please advise.
LVL 7
gudii9Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gurpsbassiCommented:
Mostly clients are on user machines right?
No. This is talking about EJB components which can be on remote machines.

what is the alternate to stateful session bean in that case when they want to maintain the state
Don't understand your question. The normal alternative to stateful session bean is stateless session bean.

You don't have to use EJB's in your application just to maintain state. There a numerous ways to do it without EJB's.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gudii9Author Commented:
How to maintain state without stateful ejb
0
gurpsbassiCommented:
many ways  - database, cookies, session, tokens etc
You really need to provide a true scenario first instead of a hypothetical one. Describe the architecture of your system etc
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

gudii9Author Commented:
Mostly clients are on user machines right?

No. This is talking about EJB components which can be on remote machines.

for this user or client needs to install something on their machine?

Hope no right?

IT happens through internet browser only right?
0
gurpsbassiCommented:
I think you have misunderstood the article.
It is talking about the fact that EJB's are hosted on a  JEE server somewhere and you try connecting to it from another application on another machine. This application could be on a users machine or on a different server all together.  The fact of the matter is that it is on a machine DIFFERENT to that hosting the EJBs.
0
gudii9Author Commented:
It is talking about the fact that EJB's are hosted on a  JEE server somewhere and you try connecting to it from another application on another machine.
any banking site i login as a customer i always be on different machine right than the server in which that banking online application deployed whether it uses EJB or simple web application without EJB?
0
gurpsbassiCommented:
Yes but what if you had an application running on the same machine as the EJB?
It could be a daemon process running on the same box.
0
gudii9Author Commented:
It could be a daemon process running on the same box.

can you please elaborate on this. I was not clear still.
0
gurpsbassiCommented:
a standalone application spawning its own threads or any application running on the same machine as the EJB.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.