Developing modern java web applications with java ee 7 and angular js
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Developing modern java web applications with java ee 7 and angular js

on

  • 2,281 views

 

Statistics

Views

Total Views
2,281
Views on SlideShare
2,281
Embed Views
0

Actions

Likes
2
Downloads
19
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Developing modern java web applications with java ee 7 and angular js Presentation Transcript

  • 1. OPENSHIFT Developing Modern Java Web Applications with Java EE 7 and PRESENTED AngularJS Workshop BY Shekhar Gulati
  • 2. WHO AM I? •    •    •    •  •  Shekhar  Gula+  -­‐-­‐  OpenShi1  Developer  Evangelist   Java  /  JavaScript  /  Python  /  NoSQL  /  Cloud  Guy   TwiEer  Handle  :  shekhargula*   Github  :  h,ps://github.com/shekhargula*   Author  of  30  technologies  in  30  days  blog  series   h,ps://www.openshi9.com/blogs/learning-­‐30-­‐ technologies-­‐in-­‐30-­‐days-­‐a-­‐developer-­‐challenge  
  • 3. AGENDA l  Develop  a  Java  EE  7  app  (Mostly  doing  this)   http://www.confsays.com/
  • 4. CODE DU JOUR https://github.com/shekhargulati/conferenceapp
  • 5. Step 0 : CLONE PROJECT 1.  Download Wildfly latest release 2.  Install Git on your Operating System 3.  Do git clone https://github.com/shekhargulati/conferenceapp.git 4.  Import the application in Eclipse 5.  Show how to create Java EE 7 project using Maven archetype 5
  • 6. Step 1 : CREATE JAVA EE7 PROJECT 1.  Do git checkout remotes/origin/step1 2.  Show 1.  Maven Archetype 2.  War Plugin Configuration 3.  Start Wildfly 4.  Show first hello world deployment 6
  • 7. STEP 2: CREATE CONFERENCE 1.  Do git checkout remotes/origin/step2 2.  Show 1. REST configuration and REST resource 2.  CDI is enabled by default. 3. Use of transactions in CDI beans. 4. Producers which produce EntityManager and Logger 5. @Vetoed added to exclude classes from CDI 6. JPA configuration in persistence.xml 7
  • 8. STEP 3 : ASYNC RESOURCES 1. Do git checkout remotes/origin/step3 2.  Show 1.  Making ConferenceResource save() method async 2.  Concurrent Utilities 8
  • 9. STEP 4 : WRITE REST CLIENT AND USE JSON PROCESSING 1.  Do git checkout remotes/origin/step4 2.  Show 1.  REST Client for GooseExtractor 2.  Parsing the String respone using JSON parsing API 3.  Integrating with ConferenceResource 9
  • 10. STEP 5 : TWITTER STREAMING SUPPORT 1.  Do git checkout remotes/origin/step5 2.  Show 1.  Add dependencies in pom.xml 2.  Add twitter streaming related classes 3.  Show Event mechanism 4.  Export Environment variables 10
  • 11. STEP 6 : ANGULARJS UI 1.  Do git checkout remotes/origin/step6 2.  Show 1.  AngularJS code 2.  Read related resource operations 11
  • 12. STEP 7 : WEBSOCKET SUPPORT 1.  Do git checkout remotes/origin/step7 2.  Show 1.  QuizWebSocket Endpoint 2.  App.js 12
  • 13. STEP 8: DEPLOY TO OPENSHIFT 1.  Create Wildfly OpenShift Application 2.  Clone the application to local machine 3.  Add a remote 4.  Pull the changes 5.  Add MySQL cartridge 6.  Set Environment variables 7.  Git push for deployment 13
  • 14. QUESTIONS?
  • 15. DONE!