glassfish story by jaromir hamala/c2b2 consulting
Post on 18-Oct-2014
625 views
DESCRIPTION
GlassFish Story presented by Jaromir Hamala/C2B2 Consulting at JavaOne 2013 GlassFish Community Event.TRANSCRIPT
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.1
Hacking on Glassfish!Jaromir Hamala, Senior Consultant
(and passionate
developer!)C2B2 Consulting Ltd.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.3
How You Are Using GlassFishHacking!
Glassfish as the hacker friendly Java EE platform Taking advantage of modular architecture
And Java EE standards!
It’s fast to start with! (yet very reliable!) Low footprint
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.4
What Worked with GlassFishDid I mention it’s highly hackable?
JMS broker or Data Grid? JMS backed by Data Grid!
Demo Time!
https://github.com/jerrinot/hazelcastmq
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.5
Ingredients
Hazelcast DataGrid (implements topic and queue ootb)
JMS wrapper (written by Mike Pilone) https://github.com/mpilone/hazelcastmq
Generic JMS RA http://genericjmsra.java.net/ 1 Rainy Saturday
– (or pretty much any Saturday if you live in the UK)
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.6
How GlassFish Can Be Better
Better / More descriptive error messages No downloadable tarball with source code
SVN only
http://www.joe-ks.com/archives_aug2009/CatFish.htm
public class FlushJMSDestination {[…]if (!success) { //todo: enable localized string throw new Exception();//localStrings.getLocalString("admin.mbeans.rmb.error_purging_jms_dest")); }
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.7
Graphic Section Divider
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.8