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).
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 3 years ago.
Improve this question
I want to develop a small application in JAVA, for personal use, that solves the derivatives and integrals. Can you tell me some good library to do this, and some example?
Thanks
Commons Math contains the ability to integrate using different methods - see here, section 4.5. The example here shows you how to use the TrapezoidIntegrator, the others work pretty much in the same way.
SO post
Library reference hosted on google code.You can also use JLink with Mathematica to send your calculations part to mathematica and get appropriate results back.
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've worked on a lot of web applications in Django. Now I've to write a webapp in Java as the system it will be interfacing with is all written in Java.
I'm not sure what would be a good framework to work with. I've a lot of experience working in Java, so language is not a problem but I'm looking for a framework that favors conventions over configuration and is easy to get started with.
I would recommend Play Framework, it's inspired by Ruby on Rails and has a very short development cycle - just save your source code and update your browser. It also has good integration with testing frameworks. I have used it for a few months and it is easy to understand.
"Running Django on Jython"
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.