Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there any Java library allowing to build a simple standalone webservice server without any application server framework?
Java 6 contains JAX-WS, which makes it very easy to host a web service in a stand-alone application:
javax.xml.ws.Endpoint.publish("http://localhost:8000/myService/", myServiceImplementation);
Axis 2 has a simple standalone server (see http://ws.apache.org/axis2/1_4_1/installationguide.html)
Simple is the fastest and lightest NIO web server you will find in the Java world. About twice as fast as Jetty and a quarter the size.
Jetty can be run embedded in a java application. Have a look at it.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm looking for the same (or, at least, very similar) tool like ASP.NET WebAPI (C#) in Java world, so I can use it with the JavaScript $.ajax call.
Any help would be appreciated.
The closest is Java API for RESTful Web Services:
JAX-RS: Java API for RESTful Web Services is a Java programming language API that provides support in creating web services according to the Representational State Transfer (REST) architectural pattern. JAX-RS uses annotations, introduced in Java SE 5, to simplify the development and deployment of web service clients and endpoints.
See full examples in the JAX-RS Tutorial - Mkyong.com and JAX-RS - YouTube.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I’m currently developing code meant to interact with the API of the Bitcoin exchange with an algorithm deciding whether to buy or sell and all. However, I can’t have my laptop running 24/7, so I was wondering, if there exist another option, like some sort of online/cloud IDE for java, which had a workspace to handle files, and could run my program for me - possibly for a small fee? Thank you :)
What you are looking for is How to Deploy a Java Applet. Here is a nice tutorial.
http://docs.oracle.com/javase/tutorial/deployment/applet/index.html
If you want your applet to be available from anywhere, you will have to embed it on a page that is hosted on the Internet. Getting a page hosted costs money, especially if you don't host it yourself, but there are thousands of well-known companies that provide this service. I can't provide any advice on which one is best, for fear of being swallowed alive by StackOverflow.
Once you have a page hosted, you can embed your Java Applet by following this tutorial.
http://www.echoecho.com/applets01.htm
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have a Web Service and I'm trying to add a simple Web User interface with the ability of adding some text and uploading file. what is the simplest and easiest one to use and compatible with Java. I'm using eclipse to develop my application.
I don't need a lot of support I just want it to be easy to use.
I can recommend wicket (http://wicket.apache.org/) you won't have licence restrictions (it's an Apache licence) and it's a time resistent solution: JSF are too complex for simple use cases, and Struts is quite as complicated but a rather old technology. GWT is too complex and time conuming for small projects.
You can naturally use bare Servlets or JSPs if you're really in very simple use cases.
Best Regards,
Zied Hamdi
http://1vu.fr
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to create a simple desktop admin application for an IOS app that will work with a REST api I've built.
Couple of years ago I would go with Flex/Air, just makes it very simple. But since I am butt-hurt with the way Adobe have handled Flash in general, I am looking to write it using some different tool.
So far, Java Swing looks rubbish (UI-wise I mean). Others aren't cross platform and often too complicated.
Any suggestion?
Have you heard of JavaFx
http://javafx.com/
Check it out, it is cross platform and a good UI framework for RIA
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I've read this: http://java.sun.com/products/javamail/javadocs/com/sun/mail/imap/package-summary.html
I want to write an imap server rather than imap client in Java. What libraries should I be looking into?
Thanks!
I know you are asking for the libraries rather than the entire solutions, however I found these to be Java based servers:
JAMES
Dwarf
As far as the libraries go you'll need libraries that can:
Parse IMAP requests
SSL handling
Authentication libraries [to verify the requesting user from your directory]
Caching frameworks to handle multiple requests to the same object
I would really not recommend writing a IMAP server from scratch unless that was your main business.