Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing RMI from an application

Status
Not open for further replies.

Barbiejones

Programmer
Apr 16, 2001
2
US
I have been asked to remove RMI from my JSP based application. I have removed the registering for RMI from my Java Servlet and I have made the application run in one JVM. Now I am seeing strange behaviour on my JSP pages. I use a shopping cart session bean to keep track of items that user are entering. When the user clicks on a button which sends them to another JSP page, when they return to the page that allows them to enter the items they want, it gives them two items instead of one. The cart has an addItem method which adds the item that they want. Unfortunately the item is already added before this method is called and when I add the item they now have two items. I am not sure how the cart is being accessed before the addItem method is being called. Has anyone seen anything similar to this after removing RMI? When I put the RMI calls back in, everything works perfectly.

Barbiejones
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top