• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Context

 
Vallabhaneni Suresh Kumar
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to share a context object between two machines assuming that one has app server and another one just has JDK?

Thank you
 
Neeraj Dheer
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to share a context object between two machines assuming that one has app server and another one just has JDK?


What do you mean by 'share a context object'?? Can you elaborate what you are exactly trying to do?

If you just want the attributes of the context to be passed to the machine that has only the jdk, you can either iterate through the context and pass all the variables, or directly pass the context object to the machine.

[Edited to add qutoe and word it better]
[ October 06, 2005: Message edited by: Neeraj Dheer ]
 
Eddy Lee Sin Ti
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you try to share the app server side state to the jdk client? If yes, then you might need to choose a mechanism to serialize the data over to the client. Web services, RMI, self defined mechanism might be helpful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic