Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Maintaining State

Reply
Thread Tools

Maintaining State

 
 
Steve
Guest
Posts: n/a
 
      12-13-2006
I am building a system and sometimes need to maintain state on the server. I am considering using JBoss and Stateful Session Beans.
Can I do this just using Spring and Tomcat? If so, any pointers to articles or code would be especially helpful.

Thanks.

Steve



 
Reply With Quote
 
 
 
 
Manish Pandit
Guest
Posts: n/a
 
      12-13-2006
Steve wrote:
> I am building a system and sometimes need to maintain state on the server. I am considering using JBoss and Stateful Session Beans.
> Can I do this just using Spring and Tomcat? If so, any pointers to articles or code would be especially helpful.
>
> Thanks.
>
> Steve


If your app is a web-application, you can maintain the state in the
session - in which case tomcat would work. However, its not a good
practice to store business state in a session - it should be in the
business tier.

Which brings the choice of Spring - sure, using a Spring container you
can achieve EJB-like functionality, or you can use Spring to talk to
EJBs. So you can use tomcat+spring to achieve the solution.

If you have evaluated Jboss and are comfortable with it, I believe that
Stateful EJBs should be a good fit. If Spring is something you'd have
to learn, then it might carry its own learning curve.

Here is Spring intro:
http://www.theserverside.com/tt/arti...pringFramework

Here is the Spring/EJB documentation:
http://static.springframework.org/sp...rence/ejb.html


-cheers,
Manish

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui C++ 0 04-27-2009 12:51 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui C Programming 0 04-27-2009 12:51 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui Python 0 04-27-2009 12:46 PM
Problems maintaining Session state Sergey Poberezovskiy ASP .Net 3 11-25-2003 04:40 PM
Maintaining page state when navigating a wizard Jesper Lauridsen ASP .Net 0 11-10-2003 11:18 AM



Advertisments