Skip to main content

Please help ..Architecture Design Suggestion Needed

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
TechFreak
Offline
Joined: 2014-07-31

Hello Everyone !!
We are supposed to develop a Web Application for EMPLOYEE TIME TRACKING with Biometric and RFID System (hardware) inputs as data to the software. We are considering two different approaches and it would be nice to receive some form of feedback before deciding on the one.

The important aspects that we are concerned about are Response Time, Workload, Scalability and performance of the application. It would be nice, if someone could throw light on which approach would be a better choice (We would be happy if you could suggest us something better than this too ).

APPROACH 1:
Client and Server are hosted separately.

CLIENT:
Presentation Tier:Browser Request handler -JSP,Spring MVC

SERVER:
-----(RESTful Web Service)----
BUSINESS Logic Tier: Spring MVC
Data Access Layer: Hibernate DAO

-------------------------------
Data Store Tier: DB server

--------------------------------
APPROACH 2:
All the 3 layers will be hosted together

Presentation Tier: View Logic - JSP+ Struts

BUSINESS Tier : Spring MVC

Data Access Layer: Hibernate

Best Regards !!