Transcript
Page 1: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!Reza Rahman, OracleSteve Millidge, C2B2 and Payara

Page 2: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

Agenda

GlassFish Roadmap How to Contribute How to Build GlassFish What would make you contribute? What features would you like to see?

Page 3: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

Why I feel we need contributions

GlassFish is an excellent open source application server– Modern OSGI Kernel

We need a strong open source, production ready, Java EE 7 application server

– Otherwise what is the future for JavaEE

We need strong competition in open source Java EE– Only WildFly is not enough

– GlassFish 5 is minimum of 2 years away

Page 4: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

GlassFish Role

GlassFish commercial discontinued– No Oracle commercial support for GlassFish 4 and beyond

– GlassFish 3 commercial support continues

– Java EE commercialized through WebLogic

– Third party support (including from C2B2 via Payara)

GlassFish open source continues– Reference implementation

– Focus on standards support, usability, community, innovation, evangelism

– Java EE releases, bug fixes

– Contributions most welcome!

Page 5: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

GlassFish 4.1

Glassfish 4.1 Open Source Edition, Java EE 7 RI and SDK– Addressing must-fix and important bugs (800+)

– Updates to projects: Jersey, Mojarra, WebSocket 1.1, Tyrus, Grizzly, CDI 1.2, Weld

– JDK 7 and JDK 8 support

– Security bug fixes

– IDE Support: NetBeans 8.0.1 will include GlassFish 4.1

Page 6: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

Java EE/GlassFish Roadmap

JSR Submissions

20172017

Final Release• Reference Implementation/GlassFish 5 Open Source Edition

• JavaOne 2016

Expert groups up and running (JavaOne)

Early Drafts

Public Review Draft

Proposed FinalDraft

Final DraftsSubmitted

201620162015201520142014

GlassFish 4.1 Open Source Edition

Page 7: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

Ways to Contribute

Forums– Stack Overflow

Bugs– Use, test, file (FishCAT)

– Make easier to fix

– Contribute bug fixes

Java EE/JCP– Adopt-a-JSR

Blog, speak, social media Samples/documentation New features

Page 8: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

Contributing Code

Explore/understand the code Find a developer, ask questions Build, setup, test Sign the OCA Work with a developer Earn commit rights Get recognition for your work

Page 9: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

Short Demo

Page 10: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

Building GlassFish Recap

Browse the Code – https://java.net/projects/glassfish/sources/svn/show/trunk

Checkout from SVN– https://java.net/projects/glassfish/sources/svn/show/trunk/main

Build with Maven– cd main

– mvn –DskipTests clean install

Get your release– appserver/distributions/glassfish/target/glassfish.zip

Unzip and run– $GLASSFISH/bin/asadmin start-domain domain1

Page 11: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

Building a Specific Module

As before go the module directory– mvn –DskipTests clean install

Copy the module to the modules directory– $GLASSFISH/glassfish/modules

OSGI Development trick– Add to $GLASSFISH/glassfish/config/osgi.properties

– org.osgi.framework.storage.clean=onFirstInit

Page 12: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

Things to Consider

GlassFish is built from many projects– Jersey, Tyrus, HK2, Felix, Eclipselink + others

– You may have to fix those projects

Pick a bug– https://java.net/jira/browse/GLASSFISH

– Many are more like support tickets than issues

Page 13: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

What do you need to help you contribute?Capture Here

Page 14: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

What areas do you think need work?Capture Here

Page 15: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

What Features over JavaEE would you like?Capture Here

Page 16: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

Features We’ve been asked for.

IIOP using Grizzly Hazelcast as JSR107 implementation Session Stores: Hazelcast, Mongo, Memcached, Couchbase Devops integration, Chef, Puppet OpenStack api integration Microservices release (core, JAX-RS, JPA) Elastic Clustering for clouds Simple Monitoring Console

Thoughts

Page 17: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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

Learn More

GlassFish– http://glassfish.org

How to contribute to GlassFish– https://glassfish.java.net/contribute.html

Adopt-a-JSR for Java EE 7– https://glassfish.java.net/adoptajsr/

Building GlassFish– https://wikis.oracle.com/display/GlassFish/FullBuildInstructions

The Aquarium– http://blogs.oracle.com/theaquarium

Page 18: Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!

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