wood burning stoves 2.0
The moose likes Servlets and the fly likes JSP with No Java! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP with No Java!" Watch "JSP with No Java!" New topic

JSP with No Java!

Arsalan Madjd

Joined: Feb 21, 2001
Posts: 10
I have some experience with JSP and Servlets. From what I understand, the main advantage of JSP over Servlet is the separation of presentation from content in JSP pages. Does that mean a web developer with no knowledge of Java can use JSP and HTML to develop web pages? I don't see how this can be done. Even if the web developer relies on pre-built beans, some know of Java is required to invoke the bean methods.
By the way I am also interested in winning the JSP book.
Arsalan Madjd
Maky Chopra
Ranch Hand

Joined: Apr 11, 2001
Posts: 149
True.. but the JSP developer need not know JAVA at an advanced level and more importantly, the business logic is hidden from the presentation layer.. That is its true advantage.
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
A JSP developer does not need to know Java. Bean properties can always be accessed using the XML bean property syntax, and anything more complex can be handled using custom tags provided by a separate Java developer.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Andrew Shafer
Ranch Hand

Joined: Jan 19, 2001
Posts: 338

The advantage of seperating presentation elements is not that no one has to know java.
The advantage is that the Job can be seperated so the presentation people can focus on their job, making stuff look good and the java people can focus on their job, making stuff work properly.
This advantage is going to be almost nil if you have the same person designing both aspects. (Although, this seperation should increase readability and help with long term maintainance)
The benefit is multiplied on large projects with specialization of duties.

Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
Hi Arsalan,
It is basically a question of identifying the role and reponsibilty of the person and get the best out of him in what he is good at.It boils down to the fact that you cannot be a master of all.
You may be a excellent(or an expert) Web Developer with elementary knowledge of Java, who can work in co-ordination with an expert Java Developer.This is what JSP is targeting at!!
The Java Developer would develop Beans/Taglibs for the Web Developer to use.The Web Developer with his excellent presentation skills would decide the layout of the page.
Hence, co-ordination and appreciation of different skill-sets play a vital role in the way JSP is coded and developed.
Hope this helps.

Sandeep Desai

  1. Sun Certified Java Programmer Scored 93 per cent
  2. Oracle JDeveloper Rel. 3.0 - Develop Database Applications with Java Scored 56 out of 59
  3. IBM Enterprise Connectivity with J2EE Scored 72 per cent
  4. Enterprise Development on the Oracle Internet Platform Scored 44 out of 56

  5. [This message has been edited by Desai Sandeep (edited April 24, 2001).]
Amit Roy
Ranch Hand

Joined: Oct 10, 2000
Posts: 132
I fully agree with u Sandeep

<I>Chance Favours the Prepared minds"</I>
I agree. Here's the link: http://aspose.com/file-tools
subject: JSP with No Java!
It's not a secret anymore!