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 looking for a lightweight framework that builds on top of the Process Manager pattern:
http://www.eaipatterns.com/ProcessManager.html
I'm specifically interested in using this for doing event processing whereby I'm interested in the success or failure outcome of a particular event and passing a message on to another "stage" based on this outcome. There may be other outcomes aside from success and failure, so I want something that's a little flexible...
I'm not really looking for a heavyweight ESB to handle this sort of situation since it seems like complete overkill. Spring integration looks ok for this sort of thing. Can anybody recommend any other frameworks to help achieve this?
The alternative is to build something using the basic Spring framework...
The Apache Camel project implements the patterns from the EIP book. I think it does exactly what you need.
Camel can be used with Spring and can be deployed in several different containers, depending on your requirements.
Related
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 do my own custom registration system like we have on most of web sites:
User put password username e-male and so on
After registration process tries to log in with inserted user name and passwords from registration form.
I was considering to do this with spring-security, but I want to do this with servlets because it's essential things to know for each web developer.
As my particular view I was thinking to use filters.
Would you suggest something for me to read about filters and also how to perform security with servlets and filters??
Thank you with best regards.
You have not mentioned if its a homeowork assignment. If you are working on a real web application which is going to be used by people, don't reinvent the wheel. I would strongly recommend spring-security or other out of box frameworks.
If you are looking for playing around the things for the sake understanding, you can go ahead with whatever you are looking for (filters/servlets).
Also have a look at realms and valves (at least in Tomcat). But Servlets are definitely the easiest way.
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 use a variety of tools for testing purposes: ScalaTest, JUnit, Specs2 etc.
I'm looking for a tool that is capable of:
Storing test results in a database
collecting test results
running them across servers
Has a simple UI with navigation
A perfect example is TestSwarm: http://swarm.jquery.org/, for JavaScript testing.
Is there such a framework available for the JVM world?
I suppose you could write your own framework based on Specs2. Specs2 returns Result of an assertion, so it's possible to collect those results together afterwards. You can store them in DB with a full class name. Your test harness would work like map-reduce in this case, mapping tests to different servers, and then at the final step you would combine those results and produce a report.
I don't know of any tool like that. What is a practical purpose of such a thing?
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 9 years ago.
Improve this question
For several years we use org.bushe.swing.event.EventBus for mainly swing desktop applications. The API is really consistent, and easy to use. But now new requirements have arrised and its desired, that some EventSubscribers should get prefered over others, since they are informed synchronisly. So some kind of priority factor is needed for those subscribers.
Extending EventBus to priorize EventSubscribers shouldnt be that much of a problem, but since org.bushe.swing.event.EventBus has gone stale, I am not sure, if it might be preferable to change the EventBus Implementation.
org.bushe.swing.event.EventBus itself recommends projects like GWT Eventbus for GWT. I'm not sure, if that is also a good approach for swing applications. Which EventBus Implementations do you usually use? Do you may even know a simple Implementations which supports Priorities for Subscribers?
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've used Mina and Netty, but now I'm in the market for a lightweight library that may also be used in Android. I prefer Nio or AsyncIo over standard io implementations.
Update 1
The lack of responses really makes me think I should write my own library. Right now I'm using raw NIO and its not a lot of fun.
You might try using some pieces from Jetty as suggested in this email. I really like Jetty because it's small, self contained, and you can use some or all of it flexibly.
Since this seems to be dead on arrival, I'll answer it by saying my custom IO library will be the best.
To answer your question, there is no one size fits all async library. Netty and Mina might be the closest to such a thing, but most projects may still have to contain some pure NIO/ASYNCIO customized solutions.
I maintain you are on the right track. The more experience you have with low-level NIO/ASYNCIO the more you will appreciate and be able to get the most out of the somewhat-less-low-level Netty.