File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Create a new file using JNDI.