Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

WSAD 5.0 data class access beans

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone provide me with a couple of examples of using WSAD 5.0 data class access beans in an application. I'd like an example of creating and filling in a new ejb and accessing an old one?
My problem is that I see the MyEJBData class being generated by the wizard, but it does not generate a factory to get an instance of the EJB or a stub for it. So, after filling in the fields on the data class access bean, I don't see any way to update the actual values of the EJB. (The only example/explanation I have found so far shows using a factory class, but my wizrd generates no factory class). Should WSAB be generating a factory class?
Also, if anyone knows a good paper or tutorial on this, I'd appreciate a reference
thanks,
john
 
john b. smith
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Follow up:
The IBM documentation from the WSAD Info Center says this:
"if you are developing a new application in WebSphere Studio, it is recommended that you create only data class access beans, which employ the new design. EJB factories are automatically created by the Create an Access Bean wizard regardless of whether you choose to create a data class, Java bean wrapper, or copy helper. "
When I do this, I see no EJB Factory classes created. And, when I try use/import a Data class and a Factory class, it, of course, sees the Data class but not any sort of Factory class.
Can anyone tell me if WSAD 5.0 Access Bean wizards do, in fact, create the EJB Factory class, as documented, and if so, what is its name and were is it located?
thanks,
john
 
I got this tall by not having enough crisco in my diet as a kid. This ad looks like it had plenty of shortening:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic