aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes A link to Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "A link to "how to write own resource factory" is needed!" Watch "A link to "how to write own resource factory" is needed!" New topic
Author

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

Roman Rytov
Ranch Hand

Joined: Jun 04, 2001
Posts: 75
Pls. help if someone know where to read about it.


SCJA, SCJD, MCSD
Riaz Mohamed
Greenhorn

Joined: May 31, 2002
Posts: 23
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

Joined: Jun 04, 2001
Posts: 75
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A link to "how to write own resource factory" is needed!