aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Client-server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Client-server" Watch "Client-server" New topic
Author

Client-server

vishal sodani
Ranch Hand

Joined: Aug 26, 2000
Posts: 127
Hi,
I am going to develop a client(in Swing)-server application.What technology should I use-J2EE,or simply RMI.Or some other tech
thanks
inam paki
Greenhorn

Joined: Jul 30, 2002
Posts: 14
RMI is better solution if u don't 've any concurrency issue n transaction issue in ur application involved.


inampaki
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Originally posted by inam paki:
RMI is better solution if u don't 've any concurrency issue n transaction issue in ur application involved.

Now hold on there, partner. What about scaleability? That's a distinguishing feature between EJB servers and RMI servers, too.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Garandi Garandi
Ranch Hand

Joined: Jan 07, 2003
Posts: 192
I am agree with Kyle Brown about scaleability issue.
Garandi
vishal sodani
Ranch Hand

Joined: Aug 26, 2000
Posts: 127
Here is the link where i have discussed my problem
http://www.coderanch.com/t/335298/GUI/java/Swing-vs-VB
thanks
vishal sodani
Ranch Hand

Joined: Aug 26, 2000
Posts: 127
Any suggestions
Sudd Ghosh
Ranch Hand

Joined: Oct 23, 2002
Posts: 187
Hi Vishal-
I went thru the link. Your "chip factory" GUI doesn't look so overwhelming. Why don't you stay with only J2EE, with HTML/DHTML/JSP as the front-end view, and EJB for the business methods ? I have worked with Swing and I know it can result in pretty GUIs, but I am not at all sure how to interact a Swing client with the EJB backend.
Someone said that one has to use RMI. Will it be then that the Swing client, ALSO acting as a RMI stub, has to call the RMI skeleton/server method which, in turn, will act as a client to the EJBs? I want to know more about this.
Also I was reading somewhere that Swing should be avoided with the app server beans code (to avoid implicit multithreading), but then may be it is ok on the client side. I have personally found Swing to be very slow on Solaris (I had a large menu/submenu hierarchy, it was with Java 1.3).
Thanks, Sudd


SCJP 1.4, SCWCD, SCBCD 1.3
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client-server