• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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
 
It's just a flesh wound! Or a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic