1.

Slides:



Advertisements
Similar presentations
J0 1 Marco Ronchetti - Basi di Dati Web e Distribuite – Laurea Specialistica in Informatica – Università di Trento.
Advertisements

Copyright ©2010 Oracle Corporation Made available under Creative Commons Attribution-Share Alike 3.0 Unported EclipseLink Runtime Architecture Data Source.
Apache TomEE Tomcat Web Profile certified TomEE gesprochen Tommy.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1.
J2EE Architecture Overview
1Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Java EE 7: Developing.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.Public 1 JavaScript/HTML5 Rich Clients Using Java EE 7 Reza Rahman Java EE/GlassFish.
 Java EE 7 The new features of the upcoming Enterprise Edition.
ISE 390 Dynamic Web Development Java EE Web Applications.
DataXtend 8.4 and Beyond Tomáš Kučera Principal Solution Architect November 11, 2009.
© 2006 by IBM and Oracle; made available under the EPL v1.0 | Santa Clara | Mar. 23, 2006 Arthur Ryman, WTP PMC, IBM Rational Software Raghu Srinivasan,
An architecture for webb applications, J2EE
Introduction to Java 2 Enterprise Edition About myself –Neutrinos, Cancer Research, IT Applications Today’s topic: J2EE –Context –Advantages –Components.
 Java  Python  Bigtable(Bt) is a distributed storage system for managing structured data that is designed to scale to a very large size.  Query Language.
JSP: JavaServer Pages Juan Cruz Kevin Hessels Ian Moon.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of The Eclipse Web Tools Platform.
Java 2 – Enterprise Edition Kevin J. LaFata April 21, 2003 UM – St. Louis.
© 2005, Cornell University. Rapid Application Development using the Kuali Architecture (Struts, Spring and OJB) A Case Study Bryan Hutchinson
50 EJB 3 Best Practices in 50 Minutes
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.Public 1 Testing Java EE Applications using Arquillian Reza Rahman Java EE/GlassFish.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.Public 1 Calling All GlassFish Users and User Groups: Please Contribute to GlassFish!
Accelerate your SaaS Integration The Cloud Adapter SDK Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Introduction to EJB INFORMATICS ENGINEERING – UNIVERSITY OF BRAWIJAYA Eriq Muhammad Adams J
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
© Internna Technologies 1 IWebMvc Features, Possibilities & Goals.
Introduction to the Java Stack Michael Youngstrom.
Android and iOS Development with JAX-RS, WebSocket , and Java EE 7
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1.
Distributed System Using Java 2 Enterprise Edition (J2EE)
J AVA SE, EE, AND ME Compiled (with permission) from Sang Shin’s Introduction to Java EE Online Course Introduction to Java EE Online Course.
Introduction to JPA Java Persistence API Introduction to JPA.
CHAPTER 4 SPRING FRAMEWORK Wattanapong suttapak, Software Engineering, school of Information communication Technology, university of phayao.
Eclipse and Oracle | © 2008 Oracle; made available under the EPL v1.0 Building Applications with Eclipse Frameworks and Tools for Oracle Shaun Smith EclipseLink,
LUT/Saimia CapGemini Code Camp Java EE Technologies Lauri Naukkarinen Tatu Kosonen Kari-Matti Kangas.
MAVEN-BLUEMARTINI Yannick Robin. What is maven-bluemartini?  maven-bluemartini is Maven archetypes for Blue Martini projects  Open source project on.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.Public 1.
HTTP client wide area network (Internet) HTTP proxy HTTP server HTTP gateway firewall HTTP tunnel Copyright Springer Verlag Berlin Heidelberg 2004.
Ing. Ignacio Roqueta ARTech GeneXus and J2EE.
Web Applications - Basics. Introduction to Web Web features Clent/Server HyperText Transfer Protocol HyperText Markup Language URL addresses Web server.
Enterprise Java v120131Intro to JavaEE1 Java EE 5 TM Introduction.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1 Quick Tutorial – Part 2 Open Data Web Services for Oracle BPM August, 2013 Forms.
Ch 2 – Application Assembly and Deployment COSC 617 Jeff Schmitt September 14, 2006.
1 Apache TomEE // JavaEE Web Profile on Tomcat Jonathan #TomEE.
© 2007 IBM Corporation SOA on your terms and our expertise Software WebSphere Process Server and Portal Integration Overview.
Introduction to the Java Stack Michael Youngstrom.
Upgrading to JBoss AS7 Amit Sharma AXS USA LLC MCJUG on 20 th Feb 2013
Jonathan Gallimore | Tomitribe Cluster your application with JCache and CDI.
Test it! Unit, mocking and in-container Meet Arquillian! Ivan St. Ivanov.
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
JAVA EE 6 Best Practices for Migrating Spring to WTF ?!?
1 Distributed System using J2EE. 2 What is J2EE?  J2EE (Java2 Enterprise Edition) offers a suite of software specification to design, develop, assemble.
Glink for Java: applet, application and an API for integrating access to Bull, IBM, UNIX and Minitel systems with your Java based e-business applications.
Test Java EE applications with Arquillian Ivan St. Ivanov.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
1.Education Overview JAVA EE 6 Technologies
Status Report Hans Wenzel Geant4 Validation repository weekly meeting 13 th April 2016.
Apache Geronimo Open Source J2EE Application Server Getting up to speed with Apache Geronimo - Copyright 2005 Tom McQueeney 1 Getting up to speed with.
Devoxx 2008 in a breeze Cristian Lucchesi Lorenzo Luconi Trombacchi IIT-CNR 16 dicembre 2008.
1 NetBeans New and Cool Sun Microsystems, Inc.. 2 Goal of the Talk Learn how NetBeans IDE can help you become more productive Learn about the new features.
GlassFish:The Application Server for All Your Web Apps Your Name OSUM Community Your Address.
Platform & Maven2 David Šimonek. Certified Engineer Course Agenda What is Maven? Why Maven? NB IDE & Maven NB Platform & Maven.
Oracle Java Cloud Service Oracle Develop July 2013.
GlassFish OSGi - A Modular Runtime for Hybrid Applications
Cloud Application Foundation WebLogic Server, Coherence, and Java EE Strategy Update
BluePrints Reimagined
Java EE Overview The problem Java Enterprise Edition attempts to solve: maximize the use of Java technologies by providing a suite of Java technology specifications.
Java EE Overview The problem Java Enterprise Edition attempts to solve: maximize the use of Java technologies by providing a suite of Java technology specifications.
ESIS Consulting LLC (C) ESIS Consulting LLC. All rights reserved
The JSF Tools Project – WTP (internal) release review
Presentation transcript:

1

Integration Testing for Java EE Applications on Oracle WebLogic Server 12c Done Right This is a Title Slide with Picture slide ideal for including a picture with a brief title, subtitle and presenter information. To customize this slide with your own picture: Right-click the slide area and choose Format Background from the pop-up menu. From the Fill menu, click Picture and texture fill. Under Insert from: click File. Locate your new picture and click Insert. To copy the Customized Background from Another Presentation on PC Click New Slide from the Home tab's Slides group and select Reuse Slides. Click Browse in the Reuse Slides panel and select Browse Files. Double-click the PowerPoint presentation that contains the background you wish to copy. Check Keep Source Formatting and click the slide that contains the background you want. Click the left-hand slide preview to which you wish to apply the new master layout. Apply New Layout (Important): Right-click any selected slide, point to Layout, and click the slide containing the desired layout from the layout gallery. Delete any unwanted slides or duplicates. To copy the Customized Background from Another Presentation on Mac Click New Slide from the Home tab's Slides group and select Insert Slides from Other Presentation… Navigate to the PowerPoint presentation file that contains the background you wish to copy. Double-click or press Insert. This prompts the Slide Finder dialogue box. Make sure Keep design of original slides is unchecked and click the slide(s) that contains the background you want. Hold Shift key to select multiple slides. Apply New Layout (Important): Click Layout from the Home tab's Slides group, and click the slide containing the desired layout from the layout gallery. Reza Rahman Java EE, GlassFish, WebLogic Evangelist at Oracle Aslak Knutsen Arquillian Project Lead, Senior Software Engineer at Red Hat 2

Java EE 7 Java Enterprise Platform DEVELOPER PRODUCTIVITY Java EE 7 MEETING ENTERPRISE DEMANDS Batch Concurrency Simplified JMS More annotated POJOs Less boilerplate code Cohesive integrated platform WebSockets JSON Servlet 3.1 NIO REST 3

Java EE 7 APIs JSP EL 3* JSF 2.2* JAX-RS 2* +JSON-P +WebSocket Servlet 3.1* CDI 1.1* Bean Validation 1.1* Interceptors 1.2* +Concurrency +Batch JTA 1.2* EJB 3.2* JMS 2* JavaMail JPA 2.1* JCA 4

Java EE 7 APIs in WebLogic 12.1.3 JSP EL 3* JSF 2.2* JAX-RS 2* +JSON-P +WebSocket Servlet 3.1* CDI 1.1* Bean Validation 1.1* Interceptors 1.2* +Concurrency +Batch JTA 1.2* EJB 3.2* JMS 2* JavaMail JPA 2.1* JCA 5

Java EE 7 APIs in WebLogic 12.1.3 JSP EL 3* JSF 2.2* JAX-RS 2* +JSON-P +WebSocket Servlet 3.1* CDI 1.1* Bean Validation 1.1* Interceptors 1.2* +Concurrency +Batch JTA 1.2* EJB 3.2* JMS 2* JavaMail JPA 2.1* JCA Enabled by Default 6

PRE_CLASSPATH Adjustment/Patch Java EE 7 APIs in WebLogic 12.1.3 JSP EL 3* JSF 2.2* JAX-RS 2* +JSON-P +WebSocket Servlet 3.1* CDI 1.1* Bean Validation 1.1* Interceptors 1.2* +Concurrency +Batch JTA 1.2* EJB 3.2* JMS 2* JavaMail PRE_CLASSPATH Adjustment/Patch JPA 2.1* JCA Enabled by Default 7

Deployed as Shared Library PRE_CLASSPATH Adjustment/Patch Java EE 7 APIs in WebLogic 12.1.3 Deployed as Shared Library JSP EL 3* JSF 2.2* JAX-RS 2* +JSON-P +WebSocket Servlet 3.1* CDI 1.1* Bean Validation 1.1* Interceptors 1.2* +Concurrency +Batch JTA 1.2* EJB 3.2* JMS 2* JavaMail PRE_CLASSPATH Adjustment/Patch JPA 2.1* JCA Enabled by Default 8

WebLogic 12.1.3 Maven Support Maven plug-in Installation, domain configuration, start/stop, configure resources, deploy/un-deploy Maven artifacts Installed in a local repository Automatic synchronization Maven archetypes Development productivity

Arquillian so you can rule the code, not the bugs!

Flexible Flexible

Extensible

How does this all work?

Setup Maven, Gradle, Ant(+ivy)

<dependencyManagement> <groupId>org.jboss.arquillian</groupId> <artifactId>arquillian-bom</artifactId> <version>1.1.5.Final</version> <scope>import</scope> <type>pom</type> </dependency> </dependencyManagement>

<dependency> <groupId>org.jboss.arquillian.junit</groupId> <artifactId>arquillian-junit-container</artifactId> <scope>test</scope> </dependency>

<profile> <id>arq-weblogic</id> <dependencies> <dependency> <groupId>org.jboss.arquillian.container</groupId> <artifactId>arquillian-wls-remote-12.1</artifactId> <version>${version.weblogic}</version> </dependency> </dependencies> </profile>

ShrinkWrap Deployment + Resolver + Descriptors

ShrinkWrap.create(JavaArchive.class) .addClasses(x) .addPackages(x.z) ShrinkWrap.create(WebArchive.class) .addAsLibraries(x) .addAsWebInfResource(x) .setWebXML(z) ShrinkWrap.create(EnterpriseArchive.class) .addAsModules(war, jar) .setApplicationXML(x)

Maven.resolver() .loadPomFromFile("pom.xml") .resolve("x:y", "x:y:1.0") .withTransitivity() .asFile()

Descriptors.create(WebAppDescriptor.class) .metadataComplete(true) .version("2.5") .createServlet() .servletName(EchoServlet.class.getSimpleName()) .servletClass(EchoServlet.class.getName()).up() .createServletMapping() .urlPattern(EchoServlet.URL_PATTERN).up() .exportAsString()

https://github.com/m-reza-rahman/testing-weblogic WebLogic/Java EE Integration Testing Demo https://github.com/m-reza-rahman/testing-weblogic 28

Q&A

Learning More Java EE 7 Tutorials http://docs.oracle.com/javaee/7/tutorial/doc/home.htm Java EE 7 and More on WebLogic 12.1.3 (The Aquarium) https://blogs.oracle.com/theaquarium/entry/java_ee_7_support_comes Arquillian http://arquillian.org 30

31

32