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?
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 9 years ago.
Improve this question
Ideally would want libraries that handle creating graphs on screen well. For now these would be read-only, but eventually we may want to re-draw based on user GUI manipulations.
The other side of the story is SDEs. Would appreciate comments on any experiences people have of SDE calculations and modelling of stochastic math projections using Java. What are the likely performance tradeoff scenarios?
Would prefer to rely on widely used libraries if possible. Any thoughts?
jgraph is the general standard.
http://www.jgraph.com/
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 seen quite a few FSM implementations for JAVA, but I am not sure if there are any "reusable" ones. What do I mean by reusable?
I am processing state transitions for multiple objects with various states. I want to configure a singleton state machine which obviously itself needs to be stateless and thread-safe, so I can just pass all given objects to have their state transitions executed possible in parallel.
I wonder if there are any suitable ones for this scenario out there?
This may be a duplicate of https://stackoverflow.com/questions/10875317/recommended-fsm-finite-state-machine-library-for-java but it is hard to be sure. I have used SMC in a multithreaded system before.
Simpler state machine which may suit you is to use an enum like this.
http://vanillajava.blogspot.com/2011/06/java-secret-using-enum-as-state-machine.html
Again, this is how I have written them from scratch.
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 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.