Re: Upgrading to Java 8 with Felix and BND

2014-03-18 Thread Paul Bakker
Java 8 support in Bnd is high on my wish list as well, I created an issue to track further discussion and progress: https://github.com/bndtools/bnd/issues/485 Cheers, Paul On Tue, Mar 18, 2014 at 10:52 PM, Mark Derricutt wrote: > ASM 5.0 is out: http://asm.ow2.org/history.html > > It would be

Re: Building better OSGi applications

2014-07-17 Thread Paul Bakker
Definetly use either Felix Dependency Manager (that's what I use on all projects) or Declarative Services. DS is slightly simpler, DM is more powerful. The main difference is that DM can also be used from code to register/deregister components at any given time. Both solutions will solve the proble

Re: Building better OSGi applications

2014-07-17 Thread Paul Bakker
wiring can be made from anywhere > > Are theses points correct? What do you recommend? > > Is setting up integration testing with either lib easier? > > Regards Philipp > > > > > > > On 17.07.2014 10:19, Paul Bakker wrote: > >> Definetly use either Feli

Re: Building better OSGi applications

2014-07-19 Thread Paul Bakker
I assume you're talking about JPA with Apache Aries? I'm not very familiar with Aries, but if it really requires Blueprint I would seriously consider not using CMP. It's fairly easy to manage JPA transactions manually, so CMP doesn't really justify the downsides in my opinion. Cheers, Paul On F

Re: Building better OSGi applications

2014-07-19 Thread Paul Bakker
@Bram, that would be great! Like Marcel said, contact us on the Amdatu mailinglist about this :-) Cheers, Paul On Sat, Jul 19, 2014 at 5:50 PM, Marcel Offermans < marcel.offerm...@luminis.eu> wrote: > On 19 Jul 2014, at 16:26 pm, Bram Pouwelse wrote: > > > I've built a proprietary solution fo

Re: OSGi and Git - what release process, how many repos?

2014-08-11 Thread Paul Bakker
Hi Bulu, All our projects are based on Bndtools. This is by far the best development environment for OSGi and I strongly advise taking a look at it. We build using Gradle, which is supported directly in bnd. All bundles that belong to the same "product" are in the same Bndtools/Eclipse workspace,

Re: OSGi and Git - what release process, how many repos?

2014-08-12 Thread Paul Bakker
release cycles. > Mathilde even had to build an own building tool, I hope I can avoid that > (maybe you want to check out the repo tool from google > https://code.google.com/p/git-repo/ which is used by Android) > And Paul Bakker has one repo for all bundles, all in one Eclipse workspac

Re: iPOJO in JavaFX Application

2015-02-04 Thread Paul Bakker
Hi Arjay, I'm not very familiar with iPojo, but I did recently do some JavaFX in OSGi. One approach that works reasonably well is using static initialisation using a JFXPanel: https://github.com/sandermak/carprov/blob/master/carprov.dashboard/src/carprov/dashboard/Dashboard.java#L39 . I've also w

Re: Deploying jar (javax.persistence) using fileInstall causes DependencyManager to Stop

2015-02-09 Thread Paul Bakker
Hi Frank, Good that you fixed it :-) In general, you don't want to add osgi.cmpn and the like to a run configuration. Use them build time only. Cheers, Paul On Mon Feb 09 2015 at 5:02:50 PM Frank Langel wrote: > Update and resolution: > > Hi, I was able to fix this by removing osgi.enterpris

Re: WebSockets usage

2015-03-30 Thread Paul Bakker
Hi Alexander, It's not completely up to date (it was created before the release of Felix HTTP), but I have two examples on github: https://github.com/paulbakker/osgi-websockets-examples Cheers, Paul On Mon, Mar 30, 2015 at 11:03 AM Alexander Broekhuis wrote: > Hi all, > > I'm trying to use th

Re: Spring MVC equivalent for OSGI webapps

2015-04-20 Thread Paul Bakker
Hi Andy, We're using mostly client side technology (e.g. AngularJS) combined with RESTful web services and Web Sockets. For the RESTful web services we use Amdatu Web, which brings JAX-RS to OSGi. For Web Sockets you can either use Atmosphere which works well in OSGi, or the WebSockets APIs availa

Re: Websockets in felix.http?

2015-10-21 Thread Paul Bakker
Based on Jetty there is support for Web Sockets. There is not a whiteboard registration mechanism yet, but it's reasonably easy to get working. Some examples can be found here: https://github.com/paulbakker/osgi-websockets-examples Also, for a bit more advanced usage Atmosphere works well in a few

Re: Felix and JavaMail

2016-03-06 Thread Paul Bakker
Hi Mark, Do you explicitly need JavaMail, or do you just want to send mail from Java? If you don't need JavaMail, there's a component in Amdatu that offers this. It supports both smtp and AWS SES. http://amdatu.org/components/email.html Cheers, Paul