WebDav Server library preferably in Java [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have an app used to manage files and folders that exposes services through an homemade RESTFul Api and I would like to add Webdav features so that files that I host can be easily accessed through standard file explorers or directly modified via MS Office and related software.
I'm looking for a server Webdav library preferably in Java to build a really simple application that would be a bridge between incoming Webdav request and my Api. Main requirement is that the Api has to support Webdav level 2 features (locking).
I have tried the Milton Api once in the past but they have changed their licensing to AGPL3 and I don't want to make my whole application AGPL3 nor can afford the commercial license so I'm looking for other alternatives.
What Api do you use or recommend?
Thanks.

If you're not tied to java you could use SabreDav (PHP).
Just clarifying milton's licensing (was changed recently) all the DAV level 1 features are available in an apache2 licensed jar which is all you need for the use cases mentioned in the question.
The AGPL+commercial license applies to the extension jar which provides locking, calendar and contacts.
Cheers,
Brad

Milton is using the Apache 2 license: https://github.com/miltonio/milton2/blob/master/LICENSE.txt
Only the enterprise extensions use AGPL.
From the homepage:
Milton.io is a Java Webdav Server Library supporting Webdav level 2, CalDav, CardDav.
Integrate your java web app with desktop and mobile devices for files, calendars and contacts
Your data could be relational databases, file system, web services or any other data source
Supports Windows, Mac, Linux, Android and iOS devices, and pretty much everything else.

Related

RESTful API with either Tomcat or Node.js? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am at a decision fork where i have to pick whether to use Tomcat or Node.js in my project and need advice from experts on this.
Some questions that i have here are:
Is Tomcat (Java) or Node.js with Typescript better suited to write a RESTful API which gets values form a Database and has to interact with a another java component?
Does Node.js have unit-testing support?
Is it possible to use websockets with Tomcat for another component of the API which pushes Data to the client?
Is the type system of Java better than the system of Typescript (not all dependencies are available in Typescript (or?) and therefore don’t have types?)?
Tomcat and Node.js are really totally different from each other, so there is no one to one comparison.
While Tomcat is a web server, Node.js is a server side runtime environment - and therein lies all the difference. Java - and consequently the web and application servers supporting it - give an architectural foundation to your application which arguably no other technology can offer. On the other hand, the speed, flexibility and simplicity of JavaScript (and therefore Node.js) is a winner.
So the real question you should be asking is - do you want a robust application with solid foundation or a speedy, flexible solution?
There are also a slew of other factors to consider such as memory, performance, maintainability, and the likes.
Here are some links that might help:
Performance comparison
Java vs. Node.js:
Yes Tomcat Support websocket in tomcat. If you have already some written component in java you should use java.
You can use jersey , spring boot to implement your rest webservices.
If you are working with nosql kind of databases then nodejs could be better bet

Need modbus Java library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I need simple modbus Java library with source code. I found on google but there is .jar file and doesn't have strong using manual. Can anybody suggest me modbus library with using manual or source code ?
You can try Jamod. I never used it, but a colleague of mine used it sometime ago and he was pleased with it.
Try this one:
http://sourceforge.net/projects/jamod/files/jamod/1.2/
By the way, you can use JDGUI to see the sources of any jar file.
FieldKit is paid and open source, and haves support for several languages including Java
jModbus Project
j2mod is a fork of jamod
If you are using Modbus RTU (Serial) Java Communications API is needed; stolen from FieldKit documentation:
The Java Communication API is available from different sources:
Sun Microsystems is publishing versions for the Solaris and the Windows platform at http://java.sun.com/products/javacomm/.
Keane Jarvi publishes a LGPL licensed Linux and cross-platform COMM API at http://www.rxtx.org/.
An excellently performing package for a large variety of platforms is the SerialPort package from Solutions Consulting at http://www.serialio.com. Using this package, poll cycles of less than 10 ms can be achieved!
Perhaps jSSC is a good javax.comm implementation too.
There is another one recent solution modbus4j.

Is there a OAuth2 library for Java / Android already? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I don't want to code things that already exist...
Check mature and lightweight leeloo OAuth 2.0 Java library: http://leeloo.smartam.net/
It implements draft 10 of OAuth 2.0 specification and help you to build client, authorization and resource server.
It was not tested on an Android platform, but you are welcome to provide a feedback.
I know this post is a little old, but since google always directs me to this one when I search for an Android OAuth 2.0 library, I think I need to tell you about OAuth2Android:
Currently it supports Bearer-Tokens and MAC-Tokens based on the
specifications:
draft-ietf-oauth-v2-16
draft-ietf-oauth-v2-bearer-06
draft-ietf-oauth-v2-http-mac-00
Other extensions are also possible and it will be updated.
You need at least Android Platform Version 2.3.3; API Level 10.
You can get it here:
https://github.com/Xotan/OAuth2Android
or
git#github.com:Xotan/OAuth2Android.git
regards Christoph
OAuth 2 is still in draft stage (as of this writing, draft 10).
For now, Apache has an incubator project called Apache Amber which is:
"...a Java development framework mainly aimed to build OAuth-aware
applications"
FYI, the Scribe java library is awesome - great docs, simple and dedicated to oauth.
https://github.com/fernandezpablo85/scribe-java/wiki/getting-started
The google-oauth-java-client is written by Google, and supports OAuth 1.0 and 2.0 (draft 10)
Here is the list of OAuth libraries proposed by Twitter development wiki: http://dev.twitter.com/pages/oauth_libraries#java
Currently at least one of the mentioned libraries is qualified as mature by Twitter developers. I think we can trust their expertise in OAuth.
Leeloo worked great with Github.
https://bitbucket.org/smartproject/oauth-2.0/wiki/Home

How to scale Java app in the cloud automagically?, or, is there a Heroku for Java? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I recently came across Heroku, which looks extremely cool. You just upload your app and you're done; it scales without further intervention. Unfortunately, Heroku is for Ruby and our app is in Java.
It's a webapp, implemented as a .war file. We want it to scale automatically across clusters of servers maintained entirely by other people.
We've spoke to Rackspace. They have "Rackspace Cloudsites" which does this for Wordpress. They have no intention of supporting Java app servers in this way.
What else is out there?
The key to scalability is not the infrastructure (only). You can use various cloud offers:
Google App Engine
Amazon EC2
Heroku
CloudFoundry
VMForce (upcoming)
etc..
But if your application is not inherently scalable, the cloud won't help you.
In fact, strictly speaking, scalability is a property of the application, and it means that the application starts supporting higher load by simply adding hardware. The cloud offers you the "adding hardware" part. The rest is your responsibility.
Now, how to achieve scalability of your application is a huge topic. High scalability is a good resource for such articles.
Now Heroku supports Java. Great value for service/price :)
Take a look at Google App Engine. In your case, the App Engine Java Overview will be helpful. You can also build App Engine applications using Python.
Google App Engine does this. It's all Java and Javascript (converted from Java when needed) too.

Recommended Java frameworks for Google App Engine? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm new to google appengine and java webprogramming (jsp/servlets/frameworks) (not to webprogramming or java). I was wondering if appengine supported java frameworks and, if so, which of them are recomandable? Are there any frameworks that support authentication?
Thanks
A Google employee linked to the following information on a mailing list:
While we do not support the entirety of the Java EE specification, many of its individual components are supported. These include:
Java Data Objects (JDO) -- notes
Java Persistence API (JPA) -- notes
Java Server Faces (JSF) 1.1 - 2.0
Java Server Pages (JSP) + JSTL
Java Servlet API 2.4 -- notes
JavaBeans™ Activation Framework (JAF)
Java Architecture for XML Binding (JAXB)
Java API for XML Web Services (JAX-WS)
JavaMail -- notes
XML processing APIs including DOM, SAX, and XSLT
Gaelyk is a framework designed specifically to support applications written for the GAE. However it's not a Java framework, it's a Groovy framework. However, Groovy the language is almost a strict superset of Java, so if you know Java, you should find it very easy to learn. In fact, it's quite likely that if you use Gaelyk you can write most/all of your code in Java (though I wouldn't recommend this), because most Groovy libraries/framework work with either Groovy or Java code.
The Groovy Web Console is built using Gaelyk. It's an app that allows you to run Groovy code in a webpage.
Jello-framework is a new Java framework for Google App Engine.
According to it's site it is an End-to-End Java framework including comprehensive Data Authorization model, a powerful RESTful engine, and out-of-the-box UI views.

Categories