Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJBObject vs. HomeObject  RSS feed

 
viswanadh kasinadhuni
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One reason for having a home object is that since we need a reference to EJBObject and since we cannot instantiate EJB as they reside on different machine....
but where does HOME OBJECT live? is it not on the machine where EJB Object lives? if so, why the headahce of using home object for creating/destroying EJB Object?
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJBHome and EJBObject reside on the same server. Why EJBHome had been answered here before , quite recently. can you please search.
 
viswanadh kasinadhuni
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
where pradeep? can you post the url.
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by viswanadh kasinadhuni:
where pradeep? can you post the url.

Here it is...
http://www.coderanch.com/t/157785/java-EJB-SCBCD/certification/Pooling-EJBHome-Remote-objects
 
viswanadh kasinadhuni
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but that post didnt answered my question clearly.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!