Access files on Netwrok drive from JBoss

I have a Java application running on JBoss 4.0.4 on Windows environment. The application needs to access/launch some files on a network drive on the App Server (the network drive is file server on NAS).
How can the application access these files? What configuration needs to be done? Any help is appreaciated.
ptjhaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
CEHJConnect With a Mentor Commented:
If there is a share visible on the network then just open a file on it

File f = new File("//machine/share/file");
0
 
ptjhaAuthor Commented:
Once the system is booted, the drive authentication is already done. But however if we need to go through the windows authentication for such a case, how do we go about it?
0
 
CEHJCommented:
You could try using JCifs. Easiest to map a network drive permanently though
0
All Courses

From novice to tech pro — start learning today.