Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSP Question 1

Status
Not open for further replies.

sweetleaf

Programmer
Jan 16, 2001
439
CA
Does any version of IIS have the capabilities of serving JSP's?
 
You can install plugins or extension that will allow IIS to serve Servlets and JSP pages. Two such products that are easily configured are Tomcat and Resin.

Tomcat url: Resin url:
Personally I perfer Resin because I think it is easier to install and offers better performance than Tomcat. Both support Servlet 2.3 and JSP 1.2. Both are free for personal use. Tomcat is completely free, Resin charges a fee for commercial use.
Wushutwist
 
thanks Wushutwist!

Is JSP as easy as ASP?

regards
 
Basic things are just as simple in JSP as they are in ASP. But to really take advantage of JSP pages you need to know Servlets. I recommend getting Jason Hunter's book on Servlet Programming. It is definitely the best book written on the subject. In the beginning it may all be a bit confusing but it will definitely make you a better programmer and allow you to take full advantage of JSP.

The important thing is to realize where JSP falls in the grand scheme. JSP should really only be used for presentation. Any real logic should be done in EJB/Beans and possibly Custom Tags (though I am not a real big fan).

I find that the Model-View-Controller (MVC) pattern works like a charm with JSP. EJB/Beans serve as the Model, JSP is the View, and Servlets take the role of Controller. For a good introduction to MVC as it relates to JSP/Servlets read Hans Bergsten's JavaServer Pages. I am not thrilled with the technical detail of the book but it is a good introduction for beginners on JSP and MVC.
Wushutwist
 
Thanks again!

Are EJB's to JSP as COM objects are to ASP's?
That was a good eplanation u provided and thanks for the titles - i'll check em out this weekend!

cheers
 
Essentially Session EJBs are equilvalent to COM objects. There is no Microsoft equilvalent for Entity or Message EJBs though. EJBs tend to be alot more powerful than COM objects, for various reasons. There are a bit more complex though. Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top