EJB 3.0 Enhancements in CA Gen r8

decorumgroveInternet and Web Development

Aug 7, 2012 (5 years and 3 months ago)

396 views

EJB 3.0
Enhancements

in CA Gen r8

Page based on

Title Slide

from Slide Layout
palette. Design is
cacorp 2006.

Title text for Title or
Divider pages should
be either 40 pt for
short titles /28 pt for
subtitles or 32 pts for
longer titles /24 pt for
subtitles.

DATE text box is not
on master and can be
deleted. The date
should always be

20 pts.

September 2009


EJB 3.0 Enhancements for Gen r8 Copyright © 2009 CA

Agenda

>
Why EJB 3.0 Enhancements in CA Gen r8?

>
Features

>
Sample Flow

>
Demo with Weblogic

>
Summary





EJB 3.0 Enhancements for Gen r8 Copyright © 2009 CA

Why EJB 3.0 Enhancements?

>
Keep up to date with Application Servers

>
Migration from JAVA SDK 1.5 to JAVA SE 1.6

>
Enhance GEN 8.0 to use and support Java EE 5
specification and EJB 3 specification

>
The primary goal is to use Java annotations to
simplify the code for generated EJB interfaces




EJB 3.0 Enhancements for Gen r8 Copyright © 2009 CA

Features

>
Support the versions of WebLogic and WebSphere
that support Java EE 5 and Java SE 6

>
Support the new mechanism for defining EJBs
introduced into Java EE 5

>
Option to create the web service interface for the
corresponding generated EJB

>
JRE 6 included with Gen r8 installation




EJB 3.0 Enhancements for Gen r8 Copyright © 2009 CA

Sample Flow

>
The CA GEN toolset is used to design a model of the
distributed application that we wish to implement

>
Define EJB/EJB Web Services as TPMonitor

>
The toolset calls the generators to create the Java
Source code for the target environment

>
The CA GEN build tool compiles all of the generated
code. Then the assembly option of the build tool
allows the user to select the specific Java EE 5
application server to which the assembled
application will be installed



EJB 3.0 Enhancements for Gen r8 Copyright © 2009 CA

Sample Flow

>
An applications with Gen generated EJBs can be
accessed by


Gen generated Clients, Proxies & EJBs


Hand written custom clients

>
An application with Gen generated “EJB Web
Services” could be accessed


as plain EJBs (explained above)


as EJB Web Services


Gen generated Webview clients


Hand written custom clients that can consume a Web
Service.


EJB 3.0 Enhancements for Gen r8 Copyright © 2009 CA

Demo

>
Refer to Tech reqs for all pre
-
reqs

>
Download Java EE 5 and Java SE 1.6

>
Using Toolset, open Sample Model

>
Define Target Environment

>
Define user profile in Buildtool for Java

>
Generate EJB Web Services

>
Compile

>
Assemble

>
Launch Weblogic and console

>
Deploy the assembled EJB Web Service application.

>
Access WSDL using the Test Harness







EJB 3.0 Enhancements for Gen r8 Copyright © 2009 CA

Summary

>
Support the versions of WebLogic and WebSphere
that support Java EE 5 and Java SE 6

>
Support the new mechanism for defining EJBs
introduced into Java EE 5

>
Option to create the web service interface for the
corresponding generated EJB

>
JRE 6 included with Gen r8 installation




EJB 3.0 Enhancements for Gen r8 Copyright © 2009 CA


Have Additional Questions?

>
https://support.ca.com


>
https://ca.com/gen