Meaningless Drivel is fun!*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Small size web app design Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Small size web app design" Watch "Small size web app design" New topic
Author

Small size web app design

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 ]
Lave Kulshreshtha
Ranch Hand

Joined: Oct 21, 2007
Posts: 106
Is your application complete?

-Lave


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, ITIL V3 Foundation Certification
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
Presentation tier - web applications, Java Server Pages, Java Servlets, Swing applications, AWT applications

This tier exposes a graphical user interface for humans to use/access a business application.

Business tier - plain old Java objects, Enterprise Javabeans

This tier contains a Java application that implements the application's business requirements.

Integration tier - relational databases, web services, enterprise information systems written in other languages, e.g. COBOL, C, SmallTalk
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

For that sized app, I'd just go with a handful of servlet controllers and JSPs for the view tier.

But, just because the app is small, there's no call for using improper practices. Be sure to still adhere to good separation of the model, controller and view layers. Small apps have a way of growing whether you plan them to or not.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Small size web app design
 
Similar Threads
Help w/ concepts: My first Java EE 5/EJB 3 app
Small size web app
Doubt on a web tier Question from Cade & Humphrey's Study Guide 2nd edition
Architecture for a small size web application
About Servlet get attribute