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 JDBC and the fly likes Small size web app 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 » Databases » JDBC
Bookmark "Small size web app" Watch "Small size web app" New topic
Author

Small size web app

subba Sathi
Greenhorn

Joined: Jul 02, 2008
Posts: 8
I would like to develop a small size web app(3-5 screens) that needs to access DB2 table in the backend..

What should be the technology used..

JSP/Servlets/java beans
Here how does the database connection happens
What is the architecture diagram look like? like presentation layer/business logic layer/data access layer etc..


JSP/Servlets/EJB - Does it need EJB for a small size app..


Please advise..

PS. I would like to know different combinations of architecture designs for various types of web applications like small, medium and large applications..

can someone guide me thru this.. i am being exposed to web technologies recently and would know JSP/Servlets only..

Presentation Layer - JSP/Servlets
Business Logic Layer - Java Beans
Data Access layer - JDBC


ThankS
Subba S
[ July 02, 2008: Message edited by: subba Sathi ]
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Not really a JDBC question.

A small web application is very unlikely to require EJBs. Do you have specific non-functional requirements you need to meet that would suggest EJBs are a good choice?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
subba Sathi
Greenhorn

Joined: Jul 02, 2008
Posts: 8
Thanks for reply..

Not knowing EJB much, what kind of NFRs EJB supports..

What are the limitations of using JDBC as data access layer..

The screen will have read/Update records from the DB2 table..

Thanks
Subba
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3700
    
    5

No offense your questions kind of large and all-encompassing, perhaps you should pick up a book or two on web applications, J2EE servers, and ejbs. I recommend the Head First series.


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Small size web app
 
Similar Threads
Doubt on a web tier Question from Cade & Humphrey's Study Guide 2nd edition
Small size web app design
Architecture for a small size web application
About Servlet get attribute
Help w/ concepts: My first Java EE 5/EJB 3 app