I am new to file server implementation. Alfresco jlan seems a good start as it's a pure Java implementation of most server protocols - CIFS, NFS and FTP. There are lot of threads devoted to alfresco, but not specific to jlan. How to setup jlan as a standalone java package in NetBeans?
Thanks in advance.
Have a look at https://web.archive.org/web/20110925093759/https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/alfresco-jlan/
Here you will find a runsrv.bat (and runsrv.sh) script to bootstrap a JLANServer using the provided XML config: jlanConfig.xml
Since the provided files (jlanConfig.xml and JLANServer) are not part of the provided binaries (e.g. not part of alfresco-jlan-embed v5.0.b), you need to provide a similar setup yourself.
For example:
The ServerConfiguration can be read from XML file, or constructed using Java code:
Please be aware that in order to use JLAN on a Windows box, you need to disable the built-in file-sharing on port 445.