Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2007

Tip: Looking for answers? Try searching our database.

J2EE application communication method help

Thread view: 
Xianzheng Zhou - 20 Dec 2007 05:49 GMT
Hi all,
I'm not a very experienced J2EE developer.
Recently, I'm trying to write an application which is divided into 3 tiers:

* business logic level (running on a J2EE server) consists of EJB
components.
* orchestration level (running on a J2EE server) which will accept
requests from client applications (not web browsers) and talk to
business logic level components to achieve certain tasks
* client level will run heavy client applications which will talk to
orchestration level across internet connections.

My question is: what communication method/protocol will be suitable for
the communications between these 3 tiers. The options are:
* RMI-IIOP
* XML-RPC
* SOAP
* Other :)

P.S. Transfer of binary data is also required

Could some one please give me some advices of which communication
methods shall I use? Performance is the priority consideration. Please
help. Thanks!!

Joe
arimanni@gmail.com - 20 Dec 2007 08:33 GMT
RMI may be easier but there's one important issue: the clients and the
J2EE server need to run on compatible JRE's.
With XML based protocol (such as SOAP):
- The client and server can run on different Java versions.
- You can also call the services with non-Java clients.

With RMI, it may be possible to achieve better performance, but it
needs careful design and implementation. With SOAP, you know exactly
what is being serialized.

> Hi all,
> I'm not a very experienced J2EE developer.
[quoted text clipped - 22 lines]
>
> Joe
Arne Vajhøj - 23 Dec 2007 17:54 GMT
> Recently, I'm trying to write an application which is divided into 3 tiers:
>
[quoted text clipped - 18 lines]
> methods shall I use? Performance is the priority consideration. Please
> help.

Considering that:
- it is fat client not web client
- performance is prioritized
then I would suggest you go for EJB calls (some RMI-IIOP on the
wire, but you do not care about wire format).

Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.