This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes Java Architecture Question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply locked New topic
Author

Java Architecture Question

Ronak Patel
Greenhorn

Joined: Sep 09, 2008
Posts: 2
I am new to J2EE. This is architecture question rather than an implementation question. I am building a new SOA web application that will obtain it's data from web service calls. The web service calls will access the database via PoJo. I am planning to create DAO and DTO in Pojo. I am also planning to use XML Serialization using Xstream. Front end will be in ExtJs , which will call the Servlet on Apache Container. Servlet will make a WebService Calls. Is this the right architecture? I was able to create a sample application following this architecture. In this Architecture i am planning to have two web applications one for Servlet and another for Web Service. They will run on Apache Tomcat. Two technology that confuses me are EJB and Hibernate. One of my friend suggested me not to use Hibernate right now and go with POJO and in future if you think your Database Access is slowing down then convert the PoJo to use Hibernate but as of right now just use JDBC to access database.

How do i handle Sessions in this Architecture?
How do i do Authentication?
What about the Security during the SOAP Request and Response?
Add to ronakppatel's Reputation
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56150
    
  13

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: Java Architecture Question
 
Similar Threads
Help in Application Architecture design
Java Architecture Question
How to connect Servlets and EJBs
How to use servlets in POJO
Plain Java Class needs access to ServletContext