• 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
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Attn Kyle, Diff between EJB from Schema and manual mapping in VAJ - Urgent!

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kyle, if u could provid the difference between the EJB created in manual way(i.e, create EJB group and add EJBs map the columns with schema and map browser) and EJBs created from schema model? This will solve lot of doubts for us.
Expecting your kind and fast reply.
Thanks in advance.
Rgds,
Prasad
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't understand the question. There should be no difference in any substantial way. Can you be more specific about what you mean?
Kyle
 
Prasad Thirugnanam
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kyle,
If we create EJB based on schema model, the ejb name will be same as the database table name. suppose if the table name contains '_' or '-', the EJB name will reflect the same. Will there be any problem when the EJB name contains '_' or'-' during deployment or when it is accessed? I got some info (no proof available) when the EJB name contains '_'s, java.rmi.CORBA exceptions with minor code .. and Transaction Rollback exception etc. So i would like to have a clarification that if any special characters ('_','-') in EJB name will result in error or not.
If we create a EJB and map the columns manually, we can give the EJB name the way we want (Hungarian notation.. like TestBean).
One more clarification i would like to ask?
Can i create set of EJBs based on Schema model and change each Bean's base class to ECEntityBean (WCS 5.1)? Will it work without any change or any customization to be done?
thanks in advance.
Rgds,
Prasad
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"mktprasad",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp.
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please edit your profile and select a new name which meets the requirements.
Thanks.
Dave
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic