cancel
Showing results for 
Search instead for 
Did you mean: 

Is Alfresco (jLAN) a fitting replacement for jCIFS lib and to what extend?

mdzh
Champ in-the-making
Champ in-the-making
Hello devs,

I apologize in advance if this is not the right place to ask. I was digging in the documentation and then here in the forums but I couldn't find anything related. Please excuse my ignorance if this was already asked and answered Smiley Happy

The company I'm working for is building a product that revolves around extensive SMB usage. Currently we are relying on jCIFS lib as an open source SMB client implementation but recently we struggled against many issues and bugs. Since jCIFS has almost zero support from the community, bugs are rarely being fixed, and the supported version of SMB is 1.0 (which is quite old) we are looking for a replacement.

What we want is to have a java API and implementation for listing SMB shares, read/write files, rename, delete and all other related file operations. We do not have any interest in the server part.

I couldn't find any jLAN examples which cover our usecases. I was hoping you could help me with that.

Thank you in advance!

Best regards,
M.D
3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator
Hello,

the reason you can't find (many) JLAN examples is that it was incorporated into the main Alfresco product quite a while ago. As far as I know, Alfresco JLAN 5.0 was the last release of the stand-alone variant back in 2009. The project has lived on as "jlan-embed" within the Alfresco source-tree, but this project now has dependencies on the Alfresco core libraries which you might not want in your own project.
In its current incarnation as "jlan-embed" it focuesses entirely on the server-side of things as the SMB/NFS library within Alfresco. Additionally, JLAN also does not support anything beyond SMB 1.x, so I don't know how good a replacement it could be.

I hope an Alfresco employee corrects me if my view of the JLAN project is incorrect, but from my perspective, there is no JLAN anymore - only a module in Alfresco that used to be JLAN and only bears the name due to its history.

Regards
Axel

mrogers
Star Contributor
Star Contributor
I think JLAN is a stand-alone project.   I've heard of JLAN only customers and alfresco offers JLAN support.  

Although of course Alfresco is by far the biggest user of JLAN.

There are bits of SMB versions > 1.0 already implemented such as oplocks which IIRC are not in version 1.0.    There's a JIRA open to consider SMB 3.0 stuff.

mdzh
Champ in-the-making
Champ in-the-making
Hello,

Thank you both for the quick responses!

https://issues.alfresco.com/jira/browse/MNT/component/12299/?selectedTab=com.atlassian.jira.jira-pro...
I found the JIRA and it seems active.

Do you know who I can contact in order to get more information about JLAN?
I want a developer's opinion on JCIFS replacement. Possibly some code examples as well.

Thank you again!

Best regards,
M.D
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.