This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP with No Java!" Watch "JSP with No Java!" New topic
Author

JSP with No Java!

Arsalan Madjd
Greenhorn

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.
Regards,
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
Sheriff

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.


!_I_Know_Kung_Fu_!
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.
Regards,

------------------
Sandeep Desai
vgdesai@bom3.vsnl.net.in

  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).]


<b>Sandeep</b> <br /> <br /><b>Sun Certified Programmer for Java 2 Platform</b><br /> <br /><b>Oracle Certified Solution Developer - JDeveloper</b><br /><b>-- Oracle JDeveloper Rel. 3.0 - Develop Database Applications with Java </b><br /><b>-- Object-Oriented Analysis and Design with UML</b><br /> <br /><b>Oracle Certified Enterprise Developer - Oracle Internet Platform</b><br /><b>-- Enterprise Connectivity with J2EE </b><br /><b>-- Enterprise Development on the Oracle Internet Platform </b>
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!
 
Similar Threads
Structuring Java Web Application
What is JHTML?
SCWCD books
Diffence Between JSP and Servlets
How to include a part of html code in to a jsp page?