• Post Reply Bookmark Topic Watch Topic
  • New Topic

HTTP writeobject with Servet or RMI EJB ?

 
Engin Okucu
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.
 
William Brogden
Author and all-around good cowpoke
Rancher
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
Rancher
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!