tag:blogger.com,1999:blog-7290642316743338665.post5348147261084918757..comments2023-09-20T05:23:44.886-05:00Comments on behind the times: Beginner's Guide to OSGi on the DesktopHamlet D'Arcyhttp://www.blogger.com/profile/04008870357169725586noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-7290642316743338665.post-39657074055268492282010-02-22T21:25:27.419-06:002010-02-22T21:25:27.419-06:00This comment has been removed by a blog administrator.木須炒餅Jerryhttps://www.blogger.com/profile/11813785579307536291noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-6912985194317243032009-01-18T18:14:00.000-06:002009-01-18T18:14:00.000-06:00For those interested in using Groovy and OSGi toge...For those interested in using Groovy and OSGi together... there is now a lengthy page on it in the Groovy Users Guide and sample code checked into the project. More info here: http://is.gd/go7SHamlet D'Arcyhttps://www.blogger.com/profile/04008870357169725586noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-61630942336436176162008-12-31T07:05:00.000-06:002008-12-31T07:05:00.000-06:00@all - On my current project we have Groovy 0.3 sc...@all - On my current project we have Groovy 0.3 script deployed in the field. The rest of the project can't upgrade to anything newer because it would break existing deployed clients. In fact, the example screenshot showing the | as argument delimiter is the culprit. This is my real problem at my real job. I wish it weren't invented! We've worked around other language syntax issues from 0.3 using metaprogramming, but the final solution requires something like OSGi. For us at least.Hamlet D'Arcyhttps://www.blogger.com/profile/04008870357169725586noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-86562293050838333002008-12-30T22:55:00.000-06:002008-12-30T22:55:00.000-06:00@tahir.akhtarI got that, but I think OSGi is too m...@tahir.akhtar<BR/>I got that, but I think OSGi is too much baggage for the functionality it provides.<BR/><BR/>@all<BR/>As for the example Hamlet provides and scriptconsole4j, I think JSR 223 already provides for multiple language engines; trying to run multiple incompatible/conflicting implementations of the same language engine in the same JVM just seems to me an 'invented' problem.<BR/><BR/>But, to each their own. Well written article all the same. Sorry I came out a little strong in the last post; have bad experiences of Eclipse.Saager Mhatrehttps://www.blogger.com/profile/03869587109666583246noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-76561121534607834432008-12-30T10:44:00.000-06:002008-12-30T10:44:00.000-06:00Great explanation! Wish you wrote it 3 years ago w...Great explanation! Wish you wrote it 3 years ago when I started a SWT development :)<BR/><BR/>BTW, your blog schema is not very good for code stuff. The content column it's too short.Anonymoushttps://www.blogger.com/profile/05083113362664157456noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-1361940512594198602008-12-30T09:48:00.000-06:002008-12-30T09:48:00.000-06:00@Saager MhatreIMO, the main advantage when compare...@Saager Mhatre<BR/><BR/>IMO, the main advantage when compared to ServiceLoaders is that OSGi frees you up from manually handling all ClassLoader glue code while giving you a nice high-level API. <BR/><BR/>Off-course you can leverage some heavy-weight containers to avoid manually dealing with class loaders but you will still have to do a lot of plumbing yourself.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-90855261736358309762008-12-30T07:14:00.000-06:002008-12-30T07:14:00.000-06:00Excellent little article. Loved that swipe about t...Excellent little article. Loved that swipe about the "<I>MBA program you've been thinking about.</I>"René Ghoshhttps://www.blogger.com/profile/10959606664859466291noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-3174605891284089192008-12-30T07:10:00.000-06:002008-12-30T07:10:00.000-06:00Beautiful! Now that's what I envisioned OSGi as e...Beautiful! Now that's what I envisioned OSGi as enabling. <BR/><BR/>BTW, you couldn't resist and did mention Jigsaw at the end.Josefhttps://www.blogger.com/profile/09243208490390372585noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-4592365455306669642008-12-30T05:53:00.000-06:002008-12-30T05:53:00.000-06:00Nice work!I've developed a really similar applicat...Nice work!<BR/>I've developed a really similar application a few months ago, which is available in google code:<BR/><A HREF="http://code.google.com/p/scriptconsole4j/" REL="nofollow">http://code.google.com/p/scriptconsole4j/</A><BR/>I explain it a little here: <A HREF="http://ordinaryjava.blogspot.com/2008/04/scriptconsole4j-embed-scripting-console.html" REL="nofollow">http://ordinaryjava.blogspot.com/2008/04/scriptconsole4j-embed-scripting-console.html</A><BR/><BR/>But the idea is to use any of the available scripting languages, by selecting the language in the combo. I've adapted it to be used as an OSGi bundle providing access to the bundle context object enabling scripts that have access to the framework.kiev gamahttps://www.blogger.com/profile/17229100175885523440noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-8074356945345935432008-12-30T05:50:00.000-06:002008-12-30T05:50:00.000-06:00This comment has been removed by the author.kiev gamahttps://www.blogger.com/profile/17229100175885523440noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-1419190832817773472008-12-29T09:53:00.000-06:002008-12-29T09:53:00.000-06:00Very interesting article, once again!Very interesting article, once again!Guillaume Laforgehttps://www.blogger.com/profile/03993980328127368671noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-88695026014766907322008-12-27T07:47:00.000-06:002008-12-27T07:47:00.000-06:00After having tried to write an Eclipse RCP app, I'...After having tried to write an Eclipse RCP app, I'd stay away from this. The Activator class and related configuration just ticked me off after a while. Besides, you traded XML for Manifest files; doesn't eliminate externalized configuration.<BR/><BR/>Nevertheless, I guess most of what you're trying to do here is achievable using <A HREF="http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html" REL="nofollow">java.util.ServiceLoader</A> with, if not less, pretty much the same amount of configuration. That's an age old pattern that I first saw in the JAXP libs and was finally released with Mustang.Saager Mhatrehttps://www.blogger.com/profile/03869587109666583246noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-9893457847332510142008-12-26T17:42:00.000-06:002008-12-26T17:42:00.000-06:00Nicely done, Hamlet.Nicely done, Hamlet.Josh Reedhttps://www.blogger.com/profile/02066492903706506905noreply@blogger.com