This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[1.3] some clarifications  RSS feed

Charith Fernando
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i have few doubts about the conclusions that i have come across for the following.. please comment on anything which i have interpreted wrongly or whether it is rite...

1) violating any rules put down to increase the portability of entity beans as an example not implementing any threads in the bean classes etc.. : what my idea is if you don't adhere to them you just dont have portability but you will still be able to successfully deploy the bean and run it..

2) what if narrowing is used to locate a local home interface of a bean.. : what my idea about this is that you can do this.. its just that the narrow will be a no-op method. but it wont give you any exceptions...

3) calling the remove method of a local session home interface which accepts the primary key... : when you try to use this method it will throw a RemoveException.. and if you try to execute the getPrimaryKey method of the local component interface of a session bean it will simply throw either a RemoteException or an EJBException according to the client type...

i have given some scenarios and the idea whic i have in mind.. pleaes let me know whether they are correct...

thank you...
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!