• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

[1.3] some clarifications

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

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.
reply
    Bookmark Topic Watch Topic
  • New Topic