• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

newbie in distributed computer

 
Alvin chew
Ranch Hand
Posts: 834
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 194
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 java.net 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.
 
Alvin chew
Ranch Hand
Posts: 834
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
database
- 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
Posts: 834
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
catalin, from your point , which model is faster ?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Bill
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic