This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Java Application question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Java Application question" Watch "Java Application question" New topic
Author

Java Application question

neelArchitect saha
Greenhorn

Joined: Feb 20, 2005
Posts: 24
I want confusion on how to connect Java Application.
I am thinking of
Java Swing Application-->Servlet-->BD-->SF-->EJB
Can i do this way.What will the preformance problem
I have seen in many posts directly connection java applicaton to Business tier via RMI/IIOP.
Can any one help me pros and cons of two solution
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Hi,

Answering your question directly would be spelling out the exact design.

All I can suggest is try to weigh out different options against SPASMER:
Scalability, Performance, Availability, Security, Manageability, Extensibility and Reliability.

Against each of the above point, try to see if connecting SWING-WEB or SWING-EJB helps.

Check if any specific performance requirements are mentioned for WEB or SWING app. If yes then which option will be the best one to meet the requirement.

Hope this helps,
Deepak
neelArchitect saha
Greenhorn

Joined: Feb 20, 2005
Posts: 24
Thanks Pant.
For Performance Client--> EJB is better than Client-->servlet.
But if i use Client--> EJB ,then how can i handle security.Any idea about that.
In design enterprise application book ,they used protocol router(servlet filter,eg signON).I can handle security in a better way.
But i am cluless about Client--> EJB thing.any material on that.
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Check sun.com for J2EE Client Container based Authentication.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Application question