Blog
e4 on JavaFX and OpenDolphin
Being at JavaOne you learn about new technologies and the first thing when learning about something new is trying to integrate the technology into e4 on JavaFX. This time it's OpenDolphin I learned about and hacked this morning support to integrate open dolphin into your e4 apps which turned out to be really easy. All you need is:
- OSGified OpenDolphin Libs including its dependencies
- Extra Bundle which will provide you a
ClientDolphininstance you can fetch from the the DI container
I've pushed both of them to a new github project and afterwards it's nothing more than create a Part-POJO like this:
public class MyDolphinView {
@Inject
ClientDolphin clientDolphin;
@PostConstruct
void init(BorderPane p) {
// Default OpenDolphin+JavaFX Code
}
}
I've also checked in a little demo app (you need to run the demo server you can get from the open-dolphin project) which when run looks like this: 