• 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

Doubts

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,
I have a few doubts, any input will be appreciated.

1.I did read somewhere that Wrapper classes shudnt be used in CMPS, may i know the reason.It is something related to the serializable funda.
2.Whats the difference between serilisation and marshalling.
3.In EJB 2.0 we have all methods within the bean as abstract, what if i wish to have a particular method using some logic?? cud i declare it??
4.I map CMPs to views, what will my create or update behave like.
5.Cud someone explain briefly the design patterns??
6. Why do guys around have to ask for a 3+ experience to hire u??
 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can answer some of your questions
3.In EJB 2.0 we have all methods within the bean as abstract, what if i wish to have a particular method using some logic?? cud i declare it??

The abstract methods are the ones that map to container managed fields. You can add any other method you want. If that method needs to get or set some container managed field, it can just call the abstract get/set method.
4.I map CMPs to views, what will my create or update behave like.
I assume you are refering to views being read-only. In that case, I think you want to make your entity bean read-only as well. So it should not have any create method, and should only have public get methods in the remote interface for the container managed fields. You still need both get and set abstract methods in the implementation, but don't expose anything but the gets from the remote interface. Also, some app servers (WebLogic) have features to help optimize entity beans for read-only.
5.Cud someone explain briefly the design patterns??
There are very good discussions on this at http://www.theserverside.com
 
Saloon Keeper
Posts: 27884
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Deepak a:

6. Why do guys around have to ask for a 3+ experience to hire u??


You mean "Must have 3+ years experience EJB2.0"?
This is part of the standard HR mechanism to ensure that no candidate who is actually competent will ever be passed to anyone who can tell the difference.
Sometimes I think they're just looking for another Ken Lay
... And the sad thing is, anything over 3-4 years in an IT product usually means that the product has changed so much that the original expertise isn't worth that much anymore. :roll:
[ August 16, 2002: Message edited by: Tim Holloway ]
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could also mean that the job is covert maintenance, the original team members having cleared off to get at more interesting projects...
reply
    Bookmark Topic Watch Topic
  • New Topic