Markus Eisele, @myfear 
Developer Advocate 
December, 2014 
1 
Wildfly and OpenShift with NetBeans
2 
Howard Cosell
3
4 
www.netbeans.org 
185 MB v8.0.2
5
6 
www.wildfly.org 
129 MB v8.2.0
https://www.openshift.com/app/account/new
8 
Official Jboss Tooling is Eclipse based :-/
9 
?
10 
Local WildFly
11 
Install = Unzip
12 
NetBeans WildFly Plugin
13
14 
It is FREE. Give it a try. 
https://www.openshift.com/app/account/new
• Nov 2010: Makara acquired 
• In 2011: merged into OpenShift project 
• May 2012: Open Sourced 
• Dec 2012: OpenShift Primer (e-book) 
• 2013: Online Public PaaS / Enterprise Private PaaS / xPaaS Services 
• Apr 2014: OpenShift Primer revision 2 (e-book) 
• June 2014: OpenShift Online Market Place, extend reach to LTAM / APAC 
• Sep 2014: European hosting 
• Coming soon: v3 with Docker, Kubernetes, etc... 
15 
A little OpenShift History
16 
Learn even more. 
https://www.parleys.com/play/52aedc3fe4b0 
cc758a75808d/chapter0/about 
http://developerpress.com/OpenShiftPrimerR 
evision2-175421
17 
1 Gear = 500 Memory + 1 GB Storage 
Free = 3 gears = 3 applications
18
19 
Officially Supported (Security Updates, et al) 
Community created (just the cartridge)
20 
WildFly On OpenShift
21 
Upload SSH Keys
22 
Access 
- Port Forwarding (rhc port-forward <APP_NAME> 
- rhc git-clone <APP_NAME> 
- git clone
23
24
25 
Maven Plugin 
https://github.com/worldline/openshift-maven-plugin
26 
OpenShift Java Client 
https://developer.jboss.org/wiki/Enable-openshift-ciFullExampleUsingOpenshift-java-client
27 
A NetBeans Plugin? 
Keep an eye open on: 
https://github.com/cvanball/OpenShift4NetBeans 
And follow: @cvanball
28 
Just because you asked .. OpenShift can run all kinds of stuff. 
Node.js, DIY, Jenkins, PHP, Ruby, Python, Perl
29 
NetBeans SFTP 
For PHP applications .. Might be helpful. 
https://blog.openshift.com/getting-started-with-sftp-and-openshift/
30
Links and References 
https://blog.openshift.com/getting-started-with-sftp-and-openshift/ 
https://netbeans.org/kb/docs/ide/git.html 
https://blogs.oracle.com/geertjan/entry/wildfly_simply_works_in_netbeans 
http://java.dzone.com/articles/openshift-how-create-web-0 
http://wildfly.org/news/2014/04/25/Getting-Started-WildFly-OpenShift/ 
https://github.com/worldline/openshift-maven-plugin 
https://community.jboss.org/wiki/Enable-openshift-ciFullExampleUsingOpenshift-java-client 
https://github.com/openshift/openshift-java-client 
https://forums.openshift.com/maven-plugin-to-deploy-jee-app-or-whatever-directly-to-openshift-folder 
github.com/javaee-samples/javaee7-samples
32 
One last thing
33 
Virtual:JBUG 
http://bit.ly/virtualJBUG 
@vJBUG 
CDI: From the Basic to the Advanced Features 
Antoine Sabot-Durand 
2. December 
7p CET 
TONIGHT!
redhat.com/xpaas 
jboss.org/events/devoxx/

Java EE with NetBeans on OpenShift

  • 1.
    Markus Eisele, @myfear Developer Advocate December, 2014 1 Wildfly and OpenShift with NetBeans
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
    8 Official JbossTooling is Eclipse based :-/
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
    14 It isFREE. Give it a try. https://www.openshift.com/app/account/new
  • 15.
    • Nov 2010:Makara acquired • In 2011: merged into OpenShift project • May 2012: Open Sourced • Dec 2012: OpenShift Primer (e-book) • 2013: Online Public PaaS / Enterprise Private PaaS / xPaaS Services • Apr 2014: OpenShift Primer revision 2 (e-book) • June 2014: OpenShift Online Market Place, extend reach to LTAM / APAC • Sep 2014: European hosting • Coming soon: v3 with Docker, Kubernetes, etc... 15 A little OpenShift History
  • 16.
    16 Learn evenmore. https://www.parleys.com/play/52aedc3fe4b0 cc758a75808d/chapter0/about http://developerpress.com/OpenShiftPrimerR evision2-175421
  • 17.
    17 1 Gear= 500 Memory + 1 GB Storage Free = 3 gears = 3 applications
  • 18.
  • 19.
    19 Officially Supported(Security Updates, et al) Community created (just the cartridge)
  • 20.
    20 WildFly OnOpenShift
  • 21.
  • 22.
    22 Access -Port Forwarding (rhc port-forward <APP_NAME> - rhc git-clone <APP_NAME> - git clone
  • 23.
  • 24.
  • 25.
    25 Maven Plugin https://github.com/worldline/openshift-maven-plugin
  • 26.
    26 OpenShift JavaClient https://developer.jboss.org/wiki/Enable-openshift-ciFullExampleUsingOpenshift-java-client
  • 27.
    27 A NetBeansPlugin? Keep an eye open on: https://github.com/cvanball/OpenShift4NetBeans And follow: @cvanball
  • 28.
    28 Just becauseyou asked .. OpenShift can run all kinds of stuff. Node.js, DIY, Jenkins, PHP, Ruby, Python, Perl
  • 29.
    29 NetBeans SFTP For PHP applications .. Might be helpful. https://blog.openshift.com/getting-started-with-sftp-and-openshift/
  • 30.
  • 31.
    Links and References https://blog.openshift.com/getting-started-with-sftp-and-openshift/ https://netbeans.org/kb/docs/ide/git.html https://blogs.oracle.com/geertjan/entry/wildfly_simply_works_in_netbeans http://java.dzone.com/articles/openshift-how-create-web-0 http://wildfly.org/news/2014/04/25/Getting-Started-WildFly-OpenShift/ https://github.com/worldline/openshift-maven-plugin https://community.jboss.org/wiki/Enable-openshift-ciFullExampleUsingOpenshift-java-client https://github.com/openshift/openshift-java-client https://forums.openshift.com/maven-plugin-to-deploy-jee-app-or-whatever-directly-to-openshift-folder github.com/javaee-samples/javaee7-samples
  • 32.
  • 33.
    33 Virtual:JBUG http://bit.ly/virtualJBUG @vJBUG CDI: From the Basic to the Advanced Features Antoine Sabot-Durand 2. December 7p CET TONIGHT!
  • 34.