wood burning stoves 2.0*
The moose likes Java in General and the fly likes Application Servers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Application Servers" Watch "Application Servers" New topic
Author

Application Servers

Sahil Sharma
Ranch Hand

Joined: Aug 27, 2003
Posts: 152
Hi,

I would like to know. How one should decide when to use an application server for his application. for e.g. I have an application based on struts + business classes (normal java classes) talking to DB. Would it be fruitfull to use Application server for this or web server would suffice.

Thnx
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
You're using the term 'application server' the way I prefer to use it, to indicate componentry that is not tied to the web interface. You may find others use it to mean any platform running application code, as opposed to "out of the box" Apache or some web server. The latter would surely include servlets and JSPs. So let's go with your usage for now ...

It's a fairly common question up in the EJB forum - when to use EJBs? EJB components have a number of attributes: distributed, secure, transactional, component model, transparent persistence and more. Would the automated management of these areas meet your requirements in productivity, scalability, performance, etc? Sorry to say the answer is all up to you. You'll have to weigh the learning curve and deployment complexity against the benefits for your project and skills.

Did you have other "application server" candidates in mind besides an EJB container? You could of course throw your own from scratch. That would be great geek fun but probably not cost effective.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
You can also have a look at Spring standalone. It may help provided the overall system is perceived to be light weight for the immediate long run.


Kishore
SCJP, blog
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Application Servers
 
Similar Threads
static classes in App Server
websphere 3.5.7 and jdk 1.4
External Java classes referenced from GWT app's server package
Deploy or application start-up listener
Learning resource for EJB