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 am trying to understanding jersery REST framework and try to re create my own custom framework for REST.I dont know where to begin with.Can anyone please provide necessary references.
Trying to fully understand a JAX-RS framework servlet container like Jersey will probably take you weeks or months, especially if you have to ask where to start. If you want to try, I would start by reading the JAX-RS spec for the version you are looking for. JSR311 is JAX-RS 1.1 and JSR339 for JAX-RS 2.0.
Truth be told, there are several implementations of the JAX-RS spec, and it is a VERY complicated and complex specification. Unless you have a real need (i.e. the existing implementations don't do what you need - which probably means you are doing it wrong), I would just work with what you have. Try our Resteasy if you don't like Jersey, do some googling to find other implementations of the JSR and try them out.
Related
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 am looking for API like Apache common, IO, beans-util, and Lombok that make spring boot or java application fast and easy. Need to write less code for particular type of operation.
Could I use Guava API instead of util package. Does it help to do development fast and easy?
Which class is better between StringUtil.java provide by Apache and Spring framework itself? Which one I use from both of them.
Thanks,
Sube
There is no specific set of api, starters are defined for different purposes. So individually no api will make development fast, it is how you set up and related auto configuration.
Spring boot support most of the api we generally use however for any specific need you can customize and configure before using it.
Regarding Apache or Spring, it depends which all utilities methods you need for string manipulation.
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 am using MireDot for generating documentation for my REST service.
While it is awesome for generating the models and general information on the resources, I don't believe it currently has a way of "nicely" adding concrete example input/output.
That said, I am resorting to pure JavaDoc for writing the Json examples. And it's painful.
Does anybody know of any tool out there that helps write JavaDoc... and in particular makes it easy to insert formatted JSON/etc into it?
This is an old question I posted when I was just experimenting with ways to document an API.
Eventually I switched to Apiary over MireDot, which makes this task trivial. The reason for this transition was mostly to decouple the JavaDoc from the actual API documentation, as I found coupling those two can create a very messy code-base for a sophisticated API that requires a lot of documentation.
Ideally would have built documentation using an all-encompassing API management platform like Mashery or the like, but at the time that was not an option.
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 am looking for JAXB classes (XML binding for Java) to represent the JIRA REST API - preferably for the current version (6.1.4, though our atlassian.net site says JIRA v6.2-OD-03), although I can update an older version as needed.
Background:
I'm working on a simple Java service that searches JIRA for issue details and compiles custom reports for our team. We have a quick 'n dirty set of JAXB classes, but they're both cluttered and incomplete. The full set of things returned is heavily nested JSON and not trivial to represent with JAXB. I'd love to have an existing implementation (official or otherwise) to help minimize my effort.
Searching for info on this is overly cluttered with info on using JAXB in a JIRA plugin, which is entirely unrelated my issue but apparently much more commonly done.
While searching for something else entirely, I came across the JIRA REST Java Client page. It has almost exactly the classes I'm looking for, though I'll have to modify them to work with JAXB and not require some of their project dependencies.
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 3 years ago.
Improve this question
I'm about to implement a state machine based workflow in my app and I've encountered an interesting framework that could make this task easier - http://code.google.com/p/stateless/
Sadly, it's for C# only.
Does anyone know about a similar workflow framework for Java? I'm afraid integrating Drools would take a lot more time than I can afford, I need something lightweight like the Stateless framework.
You can try
http://unimod.sourceforge.net/fsm-framework.html
http://today.java.net/pub/a/today/2006/01/04/business-processes-with-osworkflow.html
http://jakarta.apache.org/site/downloads/downloads_commons-scxml.cgi
http://springframework.org/webflow
http://www.jboss.org/jbpm
http://www.complang.org/ragel/
http://today.java.net/article/2009/09/06/finite-state-machine-supporting-concurrent-states
Or instead of using a framework, you can use an enum to do it (which is what I do)
http://vanillajava.blogspot.com/2011/06/java-secret-using-enum-as-state-machine.html
We have been using Stateless in our .NET which now needs to go Java for prod servers. This is what we are going with (note W3 and apache commons):
http://www.w3.org/TR/scxml/
http://commons.apache.org/proper/commons-scxml/
http://www.javacodegeeks.com/2012/06/apache-commons-scxml-finite-state.html
Have you checked the Java Finite State Machine Framework? looks simple enough. And agreed, Drools would be overkill -. and besides, it's more of an inference engine (although it can be used as a workflow component).
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
Currently I am developing java webapps using spring-mvc.
I would like to add a protlet feature to my webapps (something similar to Jira's homepage).
Can you recommend a software which will give me this feature?
Since I am already using spring-mvc,I would rather use a third party instead of a new framework.
Spring has portlet support, so you can continue using it as the framework. As for a portlet container - I'd recommend Liferay.
You should use spring portlets. It's very similar to spring mvc.
But make sure that you use Spring framework V3+ to have portlet 2.0 support. Otherwise you don't have events etc.
As Portlet container/portal you might want to have a look at liferay which is pretty good looking or software like jboss portal server which needs a nicer theme but is (IMHO) better structured in the inside. (Might end up in less pain) ;-)