I have a scenario in which I need to access filesystem using EJB.Since EJB spec prohibit this ,so I plan to do this using JCA by using a filesystem connector.I have gone through the example provided in JbossBook and ran it through,but it didn't tell us how we can proceed further to access the filesystem using DirContext connection object.I am using JBoss3.2.0.
If u know answer to above question or have sample JCA code for accessing filsystem,pls help me out!
Thanks in advance,
You can try to create a JNDI JCA adapter and use the FileSystem JNDI service provider to access the file system through JNDI. You can find more information here: http://java.sun.com/products/jndi/serviceproviders.html