This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes newbie in distributed computer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "newbie in distributed computer " Watch "newbie in distributed computer " New topic

newbie in distributed computer

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi,all my friends here, recently i have a project relavant to client / server base in distributed environment, my question is , what are the technology i need to include to this project ? i'm new in distributed system, but i do have some experience on java , what are the books recommended to read out in order to accomplish my project, thank you very much for helping !
Mag Hoehme
Ranch Hand

Joined: Apr 07, 2002
Posts: 194
Hi Alvin,

the most basic technology for creating distributed apps is RMI (Remote Method Invocation). To learn more about RMI, check out William Grosso's book (Java RMI), which provides a really good introduction into RMI.

But you should also check out whether browser-based JSP/servlet solutions could do in your case.

Hope this helps.

Catalin Merfu
Ranch Hand

Joined: May 26, 2004
Posts: 42
If you want to develop distributed applications start with the fundamentals, the TCP/IP protocol. The Internet is built on top of TCP/IP.

Create a simple client/server application using Socket and ServerSocket in package. All Internet applications work on this same principles.

Then move on to Remote Procedure Call (RPC) methods. RMI is the most simple to use because is part of the jdk. Do some research on CORBA, SOAP and EJB.

Catalin Merfu<br /><a href="" target="_blank" rel="nofollow">High Performance Java Networking</a>
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
thank you for your information , mag and catalin .

my application is actually develop accounting software which using server as host and other client which link to server database, so that during transcation in client, and server database be able to update database in synchronize way,

and we plan to make this as desktop application, so any suggestion on these ? desktop application make sense on this situation or web based ? thank you !
Catalin Merfu
Ranch Hand

Joined: May 26, 2004
Posts: 42
You can go with 2 tier architecture that includes a
- Swing client that connects to the
- Database Server

or a 3 tier architecture comprised of
- Database Server
- Web application comprised of servlets and JSPs hosted
on a webserver (ex Tomcat). The web application will query the
- Browser that becames your GUI

Start designing the database, it will be the same for both
architectures. Then develop the Swing client and then the web application.
You should have them both if possible.
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
catalin, from your point , which model is faster ?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12760
I suspect that the database operations will always dominate the response time, no matter which interface you choose.
For a desktop application, the Java WebStart approach is much more flexible than a web based (browser/servlet or J2EE) approach.
I agree. Here's the link:
subject: newbie in distributed computer
Similar Threads
Runtime class
Advantage of using Spring Framework
graduation project
how to create Installable program in java?
how to Design Spring apps