• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

newbie in distributed computer

 
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !
 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
catalin, from your point , which model is faster ?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic