WebLogic 12c Developer Deep Dive at Oracle Develop India 2012

  • 14,387 views
Uploaded on

WebLogic 12c Developer Deep Dive at Oracle Develop India 2012

WebLogic 12c Developer Deep Dive at Oracle Develop India 2012

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
14,387
On Slideshare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
165
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 2. Oracle WebLogic Server 12c: Developing Modern, Lightweight Java EE 6 Applications Arun Gupta, Technology Evangelist2 blogs.oracle.com/arungupta, @arungupta Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 3. The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle s products remains at the sole discretion of Oracle.3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 4. Oracle WebLogic Server 12c #1 Application Server Across Conventional and Cloud Environments Deploy/Run on Private and Public Clouds Deploy/Run on High Performance Engineered Systems Deploy/Run on Conventional Systems4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 5. Oracle Cloud Application Foundation Foundation for Oracle Fusion Middleware in the Cloud Web Social Mobile Oracle Public Exalogic Cloud Elastic Cloud User Engagement Traffic Director Business Process Content Business Management Management Intelligence WebLogic Coherence Tuxedo Server Service Integration Data Integration Cloud Application Foundation Identity Management & Security Development Cloud Application Enterprise Tools Foundation Management5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 6. Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards to Oracle WebLogic Server Extending your existing open source skills to Oracle WebLogic Server Write less glue code, more business logic when using integrated services6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 7. Modern Development with WebLogic Server 12c Development Tooling, Maven, Spring, Classloading, Open Source …•  Java EE 6 Full Profile Certified•  Standard Java IDE Support•  Deeper Maven Integration•  Built in Java VM Flight Recorder/Diagnostics•  GlassFish DD Support on WebLogic•  Latest Spring Framework 3.0.x Support•  Built in Classloading Analysis Tool (CAT) CAT 7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 8. Lightweight Development with WebLogic Server 1GB•  2X-6X download size improvement for developers•  No installer, unzip and go on Win/Linux/ OSX 318mb•  Start an instance with -Dservertype=wlx to launch without EJB, JMS, and JCA 168mb containers•  FastSwap greatly reduces project redeployment requirement when doing 11g Full Distro 11g Zip Distro 12c Zip Distro iterative deployment 8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 9. Cloud Development with WebLogic Server WebLogic WebLogic WebLogic•  Applications Ready for Cloud Deployment Server Server Server –  Common Java EE Standards Common APIs, Runtime, Assemblies –  Common WebLogic Server runtime Conven&onal   Engineered   Private  and   –  Common use of Assemblies for PaaS Systems   Systems   Public  Clouds  •  Leverage Assemblies in Development –  Provision virtual environments for team development and test•  Oracle Virtual Assembly Builder Updates OTD WLS –  OVM 3.0 and broader product support WLS WLS Custom App. SOA Suite –  New studio/deployer architecture DB DB Coherence –  Provisioning for Oracle Public Cloud Coherence Virtual Development /Test with Assemblies 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 10. Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards to Oracle WebLogic Server Extending your existing open source skills to Oracle WebLogic Server Write less glue code, more business logic when using integrated services10 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 11. Seamless Upgrade From WebLogic, iAS and OthersAutomated Tooling Simple Upgrade Redeployment Migration Services Internet WebLogic JBoss GlassFishApplication Server Server 11g WebSphere 11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 12. Modern Development with Java EE 6 Flexible & Lightweight Extensible• API Pruning • Embrace open source frameworks• Standards-based • Enable Drag & Drop dependency injection framework installation• Handle simple to complex with • Standards-based DI extensions no external dependencies don’t create proprietary lock-in Developer Productivity • POJO Programming Model • More annotations, better IDE support • Less XML configuration, more convention • Annotations, not deployment descriptors 12 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 13. Major New Updates in Java EE 6 Java Classes* Lines of Code* Lines of XML* 25% 50% 80% Less Less Less•  Less XML, Less Code •  Simplification, Productivity •  Modernization •  Java Server Faces 2.0 •  Managed Beans 1.0 •  Context & Dependency •  Java Servlets 3.0 •  Bean Validation 1.0 Injection 1.0 •  Java Persistence 2.0 •  JAX-WS 2.2 •  Bean Validation 1.0 •  Enterprise Java Beans 3.1 •  Java API for RESTful & Interceptors 1.1 Web Services * Based on a Sample POJO/JPA/REST Based Application Built for JavaOne 13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 14. Scaling up to WebLogic Server from GlassFishGlassFish <DeploymentApplication DETECT Descriptor> <Deployment CONVERT GF DEPLOY glassfish- Descriptor> EAR DD & USE WAR web.xml sun-web.xml Built in GlassFish Descriptor Recognition for Easy Re-Deployment to Oracle WebLogic Server 14 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 15. 15 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 16. Java SE 7: Cleaner, More Maintainable Code•  Oracle WebLogic Server 12c supports Java SE 7 (and Java SE 6) •  Java language optimizations •  Client and server support •  Internationalization •  SSL/TLS 1.2 in JSSE •  Converged Java VM16 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 17. Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards to Oracle WebLogic Server Extending your existing open source skills to Oracle WebLogic Server Write less glue code, more business logic when using integrated services17 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 18. IDE Tool Support for WebLogic Server 12c Text EditorsTodayComing … 18 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 19. Enhanced WebLogic Maven Plug-in•  Simple and intuitive•  New Maven goals, functional support New mvn wls:install: automate install from zip file•  Enable/support/automate New mvn wls:create-domain: create a simple domain mvn wls:start-server: process control the full development New New mvn wls:wlst: execute inline and external WLS scripts lifecycle from Maven New mvn wls:appc: compile Maven artifacts using appc•  Additional WebLogic, mvn wls:deploy: deploy apps to server Fusion Middleware enhancements planned19 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 20. Some WebLogic Maven Plug-in Use Cases WebLogic Maven Plug-in•  Automate repetitive development operations <plugin> <groupId>com.oracle.weblogic</groupId> <artifactId>weblogic-maven-plugin</artifactId> <version>12.1.1.0</version>•  Bind to Maven execution phases <configuration> <adminurl>t3://localhost:7001</adminurl> <user>weblogic</user><password>welcome1</ password> </configuration>•  Integration with other tools <executions> <execution> <id>deploy</id> <phase>pre-integration-test</phase> <goals>•  Integrate with team build environments <goal>deploy</goal> </goals> <configuration> <source>${project.build.directory}/$ {project.build.finalName}.${project.packaging}</ source> <name>${project.build.finalName}</name> </configuration> </execution> </executions> </plugin> 20 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 21. 21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 22. Program Agenda Modern,  Lightweight  Java  EE  6  applica&ons   for  conven&onal  and  cloud  deployment   Extending  your  exis&ng  skills  with  the   latest  standards  to  Oracle  WebLogic  Server   Extending  your  exis&ng  open  source  skills   to  Oracle  WebLogic  Server   Write  less  glue  code,  more  business  logic   when  using  integrated  services  22 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 23. Integrated Services and WebLogic Server 12c Firewall WebLogic Server 12c Internet Business Tuxedo Web Services Messaging Logic Connector Transactions Security Protocols Persistence Oracle Oracle Traffic HA Traffic Director Heartbeat Director•  Best of breed services within WebLogic Server Application Cache Server Messaging•  Built-in integration with other Server Server infrastructure services LDAP server Database Server23 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 24. Integrated Caching, Data Grid Services•  Declarative scale out of session state management with WebLogic•  JPA L1/L2 Cache data access with synch/asynch read/write through•  Analytics, events and compute•  Administration, operations and management built into WebLogic WebLogic WebLogic WebLogic WebLogic WebLogic WebLogic Coherence Coherence Coherence Coherence Coherence Coherence Coherence Coherence Coherence Coherence Coherence Coherence Data Cache Data Cache Query/Event Query/Event Coherence Coherence Coherence Coherence Query/Event Query/Event Declarative Session Persistence Caching with Query, compute and Management Read and Write Through event24 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 25. Multi-Channel Development Single Programming Model, Flexible Rendering Technology Web Mobile Desktop Office WebLogic Supports Multi-Channel Deployment User WAP 2.0 HTML 5.0 AJAX Interface ADF Mobile ADF Faces / WebCenter Portlets Business Java EE 6 Logic© 2011 Oracle Corporation – Confidential
  • 26. Virtual Development Assemblies with OVAB Assembly Metadata•  Create assemblies including multi- OHS Traffic Load tier components and services Director Driver•  Replicate shared development and test environments•  Simplify provisioning and WebLogic Coherence Service Bus SOA deployment of complex topologies•  PaaS APIs for automation•  Enable developer focus on RAC-1 RAC-2 business logic vs. integration Machine Pool26 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 27. Summary #1 Application Server Across Conventional and Cloud Environments•  Develop better quality, more maintainable code faster and easier with WebLogic Server12c •  Improve efficiency with modern, lightweight Java EE 6 API •  Leverage your skills with the latest Java standards and open source into Oracle WebLogic Server •  Write less glue code, more business logic when using integrated services27 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 28. Q&A28 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 29. Join the WebLogic Community TwiFer   twi%er.com/oracleweblogic   Facebook   facebook.com/oracleweblogic   Oracle’s  WebLogic  blog   blogs.oracle.com/weblogicserver   Youtube   Youtube.com/oracleweblogic   Developer  Webcast  Series   oracle.com/goto/weblogicdevcast       Oracle.com/weblogic      29 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 30. 30 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 31. 31 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.