Link to home
Start Free TrialLog in
Avatar of teachmejava
teachmejava

asked on

some j2ee questions

Hi all, here goes.....

- So struts and spring are frameworks, what does that mean? - what are they used for? - examples of applications would be appreciated.
- also what is hibernate used for? - is it instead of message beans? - examples would be good.
- lastly, what is an application/ web server???

no links plz
nice understandable answers would be much appreicated
thanks
ASKER CERTIFIED SOLUTION
Avatar of suprapto45
suprapto45
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>>"So struts and spring are frameworks, what does that mean? - what are they used for?"
yes, they both are frameworks. Frameworks help you in managing the flow of your application by separating the layers among application, controller and database. By separating the layers, there application will be loosely coupled and the changes in one of the layer will have least impact on another layer.

Struts has its own way to manage the flow of application and so does Spring. At the end, framework is used to produce the application that is maintaneable.

David

>>"lastly, what is an application/ web server???"
As far as I know, application server is able to handle more technologies (in J2EE) such as JMS, EJB and etc. While web server is used only to serve / control the static resources such as JSP, images, binary data and etc.

You might be interested to hear from other experts though.

David
Avatar of Mayank S
Yes, a web-server is just meant for hosting web-resources like images, HTML files, etc. If you want to host JSP or ASPX or such pages (which require language-compilation, etc) you need some kind of plug-in or servlet-container with the web-server. An application server in turn can host entire applications and can be bundled up with a web-server, servlet-container, EJB-container, etc
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>>what is an application/ web server
An application server must firstly be an application. So, it plays a role as operating system. The different is:
+The operating system works with hardware.
+Application server works with platform such as operating system, virtual machine.
To be like an OS, an application server is an environment to develop, deploy,run, manage the application on it.  
Some famous application servers are JBoss (RedHat), BizTalk (Microsoft), BDE (Borland), Sun One (Sun), OCj4 (Oracle).
Phuoc
I am sorry I am going to tell about Web server but I have forgot.
To me,Web server is an server which implementation HTTP or HTTPS protocol.
It like a document store which contains static or dynamic documents.
Document can be located by URL.
Phuoc