aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Create a new file using JNDI. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Create a new file using JNDI." Watch "Create a new file using JNDI." New topic
Author

Create a new file using JNDI.

Nev Mehta
Greenhorn

Joined: Jan 09, 2007
Posts: 26
I am trying to use JNDI to create a new binding while using 'RefFSContextFactory'. So what i am trying to do is create a new File using JNDI. However this code throws an exception javax.naming.OperationNotSupportedException: Can only bind References or Referenceable objects.

 
Don't get me started about those stupid light bulbs.
 
subject: Create a new file using JNDI.