• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

A link to "how to write own resource factory" is needed!

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pls. help if someone know where to read about it.
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try this
or i could send u some code which i had written u could understand it ..well one more thing do u want this for internationalization
http://java.sun.com/webservices/docs/ea1/tutorial/doc/WebApp8.html
regards
riaz
 
Roman Rytov
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I might have confued you by my question. Now I'm not sure I need what I asked (or it's possible). The point is the next. In a web-app descriptor you may specify that a servlet must be ran automatically with certain parameters. I wounder if in an ejb descriptor I may place certain records describing which class the server should instanciate to let my beens get objects from the newly created instances. Or simplier to say: if you define a DataSource type under env/jdbs entry then in runtime you may acquire through JNDI a new object then cast it to DataSource type and use it. It's up to the server to instanciate this factory. I want somthing similar but returning my objects. The question is which interface should my factory implement to satisfy conterner's requirements. Or such a possibility doesn't exist and I have to do all the job by my self?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic