[jboss-user] [EJB/JBoss] - Re: How to read/write to local file system

skajotde do-not-reply at jboss.com
Sat Aug 16 13:56:13 EDT 2008

Plain java ;)

File() with absolutes filesystem paths. You may be supported by system properties 

new File(System.getProperty("system.booking.drirectory" + File.sep + "xxx");

Remember put all in finally block to ensure close resources. It is server environment. 

I know is JCA, nut there is no much sources hot to use it ;) Solution mentione abowe is tested ;)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170927#4170927

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170927

More information about the jboss-user mailing list