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.
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 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.
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 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 8 years ago.
Improve this question
For purely experimental reasons, and to learn about monitoring applications, looking for something with the following criteria:
written in Java
web application, runnable in a web container (tomcat). not using EJBs/JMS.
open-source
somewhat resource-intensive
using MySQL for DB
makes good use of logs (that is, writes to logs often and descriptively)
works fairly simple in EC2, i guess - what kinds of problem could be there? maybe usage of many ports?
The intention here is to be able to send it http query (or soap) requests and be able to significantly load it. Looking for some fresh ideas.
Thanks!
AppFuse is a Java web stack that meets all of these requirements (I don't know what you mean by resource-intensive, but you could always add your own functionality that is CPU-intensive, or I/O intensive, or whatever - or just put load on it).
Here is a link to the quick start guide.
Actually, since it supports multiple web frameworks (Spring MVC, Struts, Wicket, etc), one use case for your performance testing could involve testing with each one to compare different types of functionality.
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) ;-)