jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes making a database application with just jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "making a database application with just jsp" Watch "making a database application with just jsp" New topic

making a database application with just jsp

mansoor iqbal
Ranch Hand

Joined: Aug 14, 2000
Posts: 91
if i want to create a databse application whihc runs on the browser, can i do it by just using jsp or do have to use servlets?
wd this make life easier??
Dave Van Even
Ranch Hand

Joined: Jul 19, 2001
Posts: 101
put your business logic in JavaBeans and use them straight from your JSP's.
Avoid business logic code in your JSP's... Only put short snippets of java and use tags to the full extent

that's my advise
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
Actually, I would suggest using Servlets and JSP's together (e.g. a Model-II or MVC architecture) to make the most of reusable assets and also to put some sanity in your JSP coding.
Take a look at the "Core J2EE Patterns" book or see Martin Fowler's patterns at http://www.martinfowler.com/isa/ to get a good idea.
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Ranch Hand

Joined: Oct 30, 2000
Posts: 94
well mostly javabeans/jsp solution should suffice your requirement if the application is not too large or complex. For more complex requirements jsp/servlets/javbeans or in short MVC would be a suitable solution.Handling resultsets and connection in jsp is really tedious to say the least
What if this is as good as it gets ?
Have you checked out Aspose?
subject: making a database application with just jsp
It's not a secret anymore!