• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

HTTP writeobject with Servet or RMI EJB ?

 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are retrieving datas with writeobject()(URLConnection) in client side:
-> Applet ------------Servlet -------------Database

If i used RMI with EJB rather than HTTP. Should it better for handling requests ?
Wich is the best for performance ?

I ask this question because we are using RESIN, and we see that when clicking in a node in a JTREE it takes times to have some details of this node in the screen.

Thanks for your suggestions.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first question that occurs to me is:
What network do you have to move the objects over? Is it all inside a company LAN or do you have to serve outsiders over the Internet?
Bill
 
Engin Okucu
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) Both are used. There are several applications on 1 server(RESIN).
2) And is resin a good choise ? because there are much requests coming to the server.
 
Engin Okucu
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any suggestions ?
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have to move objects both inside and outside the company net then Http is the logical choice to avoid firewall problems.

I have not used Resin but it has been around since the beginning and still seems to be well regarded. If you are comfortable with it, keep it. If performance is a problem, do some measurements before blindly changing servers, it is likely that the server process is only a tiny part of the total delay.

Bill
 
money grubbing section goes here:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!