Forum Moderators: phranque

Message Too Old, No Replies

java server side options

can someone please explain how they relate

         

bluedalmatian

11:47 pm on Feb 15, 2005 (gmt 0)

10+ Year Member



I can program in java but have never really used it for doing stuff on a webserver. what's the difference between all the various systems, JSP, servlets, JBoss, proprietory app servers like WebSphere, WebObjects etc.

Which is best for what sort of jobs?

Is JBoss just an open source alternative to things like WebSphere & WebObjects, What exacty is a servlet does it encompass all of the above. I presume JSP is more akin to PHP - ie script embedded in the HTML files and therefore more of a simpler solution than the others?

Thanks for your help
AW

txbakers

12:15 am on Feb 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



JSP, servlets, JBoss, proprietory app servers like WebSphere, WebObjects etc

That's a big topic to tackle in a few lines.

JSP is akin to PhP, only that it processes code to run server side. JSP is by far the most robust of all the server side languages, because it can include the entire functionality of java. The .NET initiative from Microsoft is essentially a rip off of JSP and C# is so close to Java it's scary.

Servlets are bits of java code which get translated to HTML pages. They can be compiled and called from a web page, in which case they are considered JavaBeans, or they can be called by themselves and are referred to as servlets.

The various engines you mentioned are required for processing JSP - including TomCat, the free one from the good folks at Apache. Websphere, Weblogic, etc. all have extra goodies associated with their respective hosts - IBM has all kinds of Websphere devlopment tools, but everything (mnostly) can run in Tomcat.

Hope that gets you started on this great topic. The sun website has all the information you need to get started.