glassfish story by jaromir hamala/c2b2 consulting

8
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1

Post on 18-Oct-2014

625 views

Category:

Technology


0 download

DESCRIPTION

GlassFish Story presented by Jaromir Hamala/C2B2 Consulting at JavaOne 2013 GlassFish Community Event.

TRANSCRIPT

Page 1: GlassFish Story by Jaromir Hamala/C2B2 Consulting

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.1

Page 2: GlassFish Story by Jaromir Hamala/C2B2 Consulting

Hacking on Glassfish!Jaromir Hamala, Senior Consultant

(and passionate

developer!)C2B2 Consulting Ltd.

Page 3: GlassFish Story by Jaromir Hamala/C2B2 Consulting

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

Page 4: GlassFish Story by Jaromir Hamala/C2B2 Consulting

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

Page 5: GlassFish Story by Jaromir Hamala/C2B2 Consulting

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)

Page 6: GlassFish Story by Jaromir Hamala/C2B2 Consulting

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")); }

Page 7: GlassFish Story by Jaromir Hamala/C2B2 Consulting

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.7

Graphic Section Divider

Page 8: GlassFish Story by Jaromir Hamala/C2B2 Consulting

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.8