File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Small size web app design

 
subba Sathi
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 106
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your application complete?

-Lave
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic