J2EE. Enterprise Architecture Styles: Two-Tier Architectures:
|
|
- Basil Lindsey
- 5 years ago
- Views:
Transcription
1 J2EE J2EE is a unified standard for distributed applications through a component-based application model. It is a specification, not a product. There is a reference implementation available from Sun. We have a programming model, i. e. an API and an application infrastructure to support applications built using the APIs. Some design keywords for the J2EE specification: Programming productivity Reliability and Availability Security Scalability Integration Enterprise Architecture Styles: Two-Tier Architectures: The client do all work and the server just acts as a dataprovider. Application Db J2EE 21 February J2EE 21 February
2 Three-Tier architecture A three-tier application is described in the terms of presentation layer, business layer and data layer. The presentation layer is the user interface, i. e. usually some graphical presentation of the application. The middle tier (application logic) basically retrieves, processes and sends data. The data layer is the source of information. This can be database, an XML document a directory services like LDAP. User interface n-tier application An n-tier architecture is divided by function rather than physically. We can have a user interface, e. g. a browser that handles interaction, a presentation logic that defines what should be displayed, a business logic that models the data, an infrastructure services that supports the application with messagins, transaction etc and a datalayer that holds the data. The MVC-pattern is an n-tier architecture. An enterprise architecture is an n-tier application with multiple application objects. These communicate through a welldefined interface, also known as a contract. Application logic LDAP Db XML doc J2EE 21 February J2EE 21 February
3 So J2EE is A set of Java extension APIs to build applications. These APIs define a programming model for J2EE applications. A run-time infrastructure for hosting and managing applications. This is the server runtime in which your application reside. This is known as containers. The APIs in J2EE 1.4 are JDBC 2.0 Optional package Enterprise JavaBeans (EJB) 2.1 Java Servlets 2.4 JavaServer Pages (JSP) 2.0 Java Message Service (JMS) 1.0 Java Transaction API (JTA) 1.0 JavaMail 1.2 JavaBeans Activation Framework (JAF) 1.0 Java API for XML Parsing (JAXP) 1.1 The Java Connector Architecture (JCA) 1.0 Java Authentication and Authorization Service (JAAS) 1.0 In addition the following J2SE APIs are also needed Java Interface Definition Language (IDL) API JDBC Core API RMI/RMI-IIOP API JNDI API J2EE 21 February J2EE 21 February
4 An application is built from application components, each with its own deployment descriptor. An application component is built from servlets, JSP pages, EJB s etc. The deployment descriptor is an XML-file that describes the applications. The container provides: Component contracts. A set of APIs specified by the container that your application component extend or implement. Container service APIs. Additional services provided by the container, which are required for all application components. Declarative services. Services that the container interposes on your applications, based on the deployment descriptor, such as security, transactions etc. Other container services. Services related to component lifecycle, resource pooling, garbage collection etc. The J2EE container is conceptually remote to your client. Therefore you cannot directly access anything in the container. You have to use the contracts specified by J2EE. As an example a servlet is required to extend the javax.servlet.http.httpservlet class and to implement certain methods of this class, such as doget or dopost. An EJB have to have a javax.ejb.ejbhome and javax.ejb.ejbobject interfaces specified. J2EE 21 February J2EE 21 February
5 An application component can access container service APIs via special objects within the container. For example to send a message through JMS to a message queue, you use container methods to get access to the a connection and to a queue. Declarative services are things specified outside the application components. These are called deployment descriptors. It is the contract between the container and the application component. Typical examples are security. J2EE 21 February J2EE 21 February
6 Other container services: Lifecycle managment of application components. Resource pooling. Populating the JNDI namespace. Clustering of JVMs to enhance scalability. J2EE Technologies can be divided into Component technologies. These includes JSP, Servlets and EJBs Service Technologies. These includes JDBC, JNDI, JavaMail etc. Communication Technologies. These includes HTTP, TCP/IP, SSL/TSL RMI, RMI-IIOP and JavaIDL. J2EE 21 February J2EE 21 February
7 Directory Services and JNDI A Naming service is a service that enables the creation of a standard name for a given set of data. For example is given the name tomcat.it.uu.se. A directory service is a special type of database that is optimized for read access by using various indexing, caching, and disk access techniques. The information in a directory service is described using a hierachical information model. Examples of directory services are NIS/NIS+, Windows NT Domains, NDS These are different and cannot easily communicate. JNDI is a Java Naming and Directory service. By using Java, the system will be transportable and can communicate with other Java services. LDAP, Lightweight Directory Access Protocol is a standard directory developed in the early 1990 s. LDAP is widely spread and can be accessed using JNDI. In this way JNDI can access non-java LDAP directories. LDAP defines how clients should access data on the server. It does not, however, specify how the data should be stored on the server. J2EE 21 February J2EE 21 February
8 The JNDI API is part of standard Java but to use it we need a Service Provider. A service provider is a set of classes that allows us to communicate with a directory service. Its plays the same role as JDBC do in database connections. One example of a JNDI service provides is rmiregistry that we used to lookup RMI services. Another example are the DNS service provider. As an example of an JNDI usage we will use a DNS provider to search DNS for some features of a system. To use JNDI you first need to create an InitialDir- Context object that set up the search. It should have a parameter describing the service provider and another describing the server. Both should be stored as name/value pairs in a Hashtable. After doing that we can setup a query and perform a search. J2EE 21 February J2EE 21 February
9 import java.util.hashtable; import java.util.enumeration; import javax.naming.*; import javax.naming.directory.*; public class JNDISearchDNS { public static void main(string args[]) { //Hashtable for environmental information Hashtable env = new Hashtable(); //Specify which class to use for our JNDI provider env.put( java.naming.factory.initial, com.sun.jndi.dns.dnscontextfactory ); env.put( java.naming.provider.url, dns:// / ); String dns_attributes[] = { MX, A, HINFO ; //Get a reference to a directory context if (attrs1 == null) { System.out.println( host has none of the specified attributes\n ); else { for (int z = 0; z < dns_attributes.length; z++) { Attribute attr = attrs1.get(dns_attributes[z]); if (attr!= null) { System.out.print(dns_attributes[z]+ : ); for (Enumeration vals = attr.getall(); vals.hasmoreelements();) { System.out.println(vals.nextElement()); System.out.println( \n ); catch(exception e) { e.printstacktrace(); System.exit(1); DirContext ctx = new InitialDirContext(env); Attributes attrs1 = ctx.getattributes(args[0], dns_attributes); J2EE 21 February J2EE 21 February
10 Note that JNDI is used in J2EE but doesn t require J2EE. When I run this I get java JNDISearchDNS rackarberget.it.uu.se MX: 0 aun.it.uu.se. A: HINFO: Sun SunOS5 JavaMail Prerequisites for JavaMail is the JavaMail API, mail.jar, and the JavaBean Activation Framework (JAF), activation.jar. These are part of J2EE but can also be separately downloaded from To have them found automatically you can put them in the jre/lib/ext catalogue in your J2SE installation hierarchy. or java JNDISearchDNS MX: 10 mx10.gnu.org. 20 mx20.gnu.org. 30 mx30.gnu.org. A: J2EE 21 February J2EE 21 February
11 How mail works Sending client Receiving client Javamail is able to send mail via an SMTP-server and to read mail from a server via either POP3 or IMAP. It can handle attachments of different kind. SMTP POP or IMAP Sending server Receiving server J2EE 21 February J2EE 21 February
12 A simple example that sends a mail import javax.mail.*; import javax.mail.internet.*; import java.util.*; public class MailUtil { public static void sendmail(string to, String from, String subject, String messagetext) throws MessagingException { // get a mailsession, replace localhost // with your mail server, eg mail.it.uu.se Properties props = new Properties(); props.put( mail.smtp.host, localhost ); Session session = Session.getDefaultInstance(props); // create a message MimeMessage message = new MimeMessage(session); message.setsubject(subject); message.settext(messagetext); // address the message InternetAddress fromaddress = new InternetAddress(from); InternetAddress toaddress = new InternetAddress(to); message.setfrom(fromaddress); message.setrecipient( Message.RecipientType.TO, toaddress); // send the message Transport.send(message); public static void main(string [] args) { sendmail( olle, olle, testing, test ); catch (Exception e) { System.out.println(e); J2EE 21 February J2EE 21 February
13 javac -classpath.:/it/sw/java/j2sdkee/current/lib/j2ee.jar MailUtil.java java -classpath.:/it/sw/java/j2sdkee/current/lib/j2ee.jar MailUtil pine Date: Tue, 2 Mar :12: (MET) From: Olle Eriksson <olle@csd.uu.se> To: olle@csd.uu.se Subject: testing test The Java Messaging Service (JMS). The JMS API provides interfaces for applications to create, send, receive, and read messages using any implementation conforming to the API The service is asynchronous and reliable. We have either a point-to-point or publish/subscribe domain. A Point-to-Point is based on queues. Queues are persistent stores in the JMS domain. This means that we require the J2EE runtime support. Each message has a single consumer. There can be several consumers attached to a queue but one and only one consumer will consume a message. Sending and receiving is not time dependent. The consumer must acknowledge receipt of the message. A publish/subscribe model is based on messages that are published on a certain topic. A consumer can then subscribe to any topic. J2EE 21 February J2EE 21 February
14 JMS building blocks An example import javax.jms.*; import javax.naming.*; Connection factory Connection Message producer Session Message consumer Queue Message Queue public class SimpleProducer { /** * Main method. * args the destination used by the * example its type, and, optionally, * the number of messages to send */ public static void main(string[] args) { final int NUM_MSGS; if ( (args.length < 2) (args.length > 3) ) { System.out.println( "Program takes two or three arguments: " + "<dest_name> <queue topic> " + "[<number-of-messages>"); System.exit(1); String destname = new String(args[0]); String desttype = new String(args[1]); System.out.println("Destination name is " + destname + ", type is " + desttype); if (args.length == 3){ NUM_MSGS = (new Integer(args[2])).intValue(); J2EE 21 February J2EE 21 February
15 else { NUM_MSGS = 1; /* * Create a JNDI API InitialContext object if none * exists yet. */ Context jndicontext = null; jndicontext = new InitialContext(); catch (NamingException e) { System.out.println( "Could not create JNDI API " + "context: " + e.tostring()); System.exit(1); if (desttype.equals("queue")) { dest = (Queue) jndicontext.lookup(destname); else if (desttype.equals("topic")) { dest = (Topic) jndicontext.lookup(destname); else { throw new Exception( "Invalid destination type" + "; must be queue or topic"); catch (Exception e) { System.out.println( "JNDI API lookup failed: " + e.tostring()); e.printstacktrace(); System.exit(1); /* * Look up connection factory and destination. * if either does not exist, exit. If you look up a * TopicConnectionFactory instead of a * QueueConnectionFactory, *program behavior is the same. */ ConnectionFactory connectionfactory = null; Destination dest = null; connectionfactory = (ConnectionFactory) jndicontext.lookup( "jms/queueconnectionfactory"); /* * Create connection. * Create session from connection; * false means session is * not transacted. * Create producer and text message. * Send messages, varying text slightly. * Send end-of-messages message. * Finally, close connection. */ Connection connection = null; MessageProducer producer = null; J2EE 21 February J2EE 21 February
16 connection = connectionfactory.createconnection(); Session session = connection.createsession( false, Session.AUTO_ACKNOWLEDGE); producer = session.createproducer(dest); TextMessage message = session.createtextmessage(); for (int i = 0; i < NUM_MSGS; i++) { message.settext("this is message " + (i + 1)); System.out.println("Sending message: " + message.gettext()); producer.send(message); /** Send a non-text control message * indicating end of messages. */ producer.send(session.createmessage()); catch (JMSException e) { System.out.println("Exception occurred: " + e.tostring()); finally { if (connection!= null) { connection.close(); catch (JMSException e) { And a receiver import javax.jms.*; import javax.naming.*; public class SimpleSynchConsumer { /** * Main method. * args the destination name and type * used by the example */ public static void main(string[] args) { String destname = null; String desttype = null; Context jndicontext = null; ConnectionFactory connectionfactory = null; Connection connection = null; Session session = null; Destination dest = null; MessageConsumer consumer = null; TextMessage message = null; if (args.length!= 2) { System.out.println( "Program takes two arguments: " + "<dest_name> <queue topic>"); System.exit(1); destname = new String(args[0]); desttype = new String(args[1]); J2EE 21 February J2EE 21 February
17 System.out.println("Destination name is " + destname + ", type is " + desttype); /* * Create a JNDI API InitialContext object if none * exists yet. */ jndicontext = new InitialContext(); catch (NamingException e) { System.out.println( "Could not create JNDI API " + "context: " + e.tostring()); System.exit(1); /* * Look up connection factory and destination. * If either does not exist, exit. If you look up a * TopicConnectionFactory instead of a * QueueConnectionFactory, program behavior * is the same. */ connectionfactory = (ConnectionFactory) jndicontext.lookup( "jms/queueconnectionfactory"); if (desttype.equals("queue")) { dest = (Queue) jndicontext.lookup(destname); else if (desttype.equals("topic")) { dest = (Topic) jndicontext.lookup(destname); else { throw new Exception( "Invalid destination type" + "; must be queue or topic"); catch (Exception e) { System.out.println( "JNDI API lookup failed: " + e.tostring()); System.exit(1); /* * Create connection. * Create session from connection; false means * session is not transacted. * Create consumer, then start message delivery. * Receive all text messages from destination * until a non-text message is received * indicating end of message stream. * Close connection. */ connection = connectionfactory.createconnection(); session = connection.createsession(false, Session.AUTO_ACKNOWLEDGE); consumer = session.createconsumer(dest); connection.start(); while (true) { Message m = consumer.receive(1); if (m!= null) { J2EE 21 February J2EE 21 February
18 if (m instanceof TextMessage) { message = (TextMessage) m; System.out.println( "Reading message: " + message.gettext()); else { break; catch (JMSException e) { System.out.println("Exception occurred: " + e.tostring()); finally { if (connection!= null) { connection.close(); catch (JMSException e) { To run this you first compile and build this. Then you start a JMS provider in the J2EE server, it is of type jms/connectionfactory. Then you need to create a queue called Physical- Queue. Then you map this with the JNDI name jms/queue. After that you can run your clients. J2EE 21 February J2EE 21 February
19 You can also do this inside the J2EE container. To do this you use message beans. J2EE server Client queue EJB cont. MDB An MDB is a kind of Listener that is connected to a queue. When a message arrives, a handler is executed in the MDB. J2EE 21 February
Module 10 Developing Java EE Applications using Messaging
Module 10 Developing Java EE Applications using Messaging Objectives Describe JMS API technology Write a message producer Write an asynchronous message consumer Write a synchronous message consumer List
More informationThe Java EE 6 Tutorial
1 of 8 12/05/2013 5:13 PM Document Information Preface Part I Introduction 1. Overview 2. Using the Tutorial Examples Part II The Web Tier 3. Getting Started with Web Applications 4. JavaServer Faces Technology
More informationIntroduction. Enterprise Java Instructor: Please introduce yourself Name Experience in Java Enterprise Edition Goals you hope to achieve
Enterprise Java Introduction Enterprise Java Instructor: Please introduce yourself Name Experience in Java Enterprise Edition Goals you hope to achieve Course Description This course focuses on developing
More informationAsynchronous Messaging. Benoît Garbinato
Asynchronous Messaging Benoît Garbinato Fundamental idea Provide a communication abstraction that decouples collaborating distributed entities Time decoupling asynchrony Space decoupling anonymity Asynchrony
More informationDeccansoft Software Services. J2EE Syllabus
Overview: Java is a language and J2EE is a platform which implements java language. J2EE standard for Java 2 Enterprise Edition. Core Java and advanced java are the standard editions of java whereas J2EE
More informationDesigning a Distributed System
Introduction Building distributed IT applications involves assembling distributed components and coordinating their behavior to achieve the desired functionality. Specifying, designing, building, and deploying
More informationindex_ qxd 7/18/02 11:48 AM Page 259 Index
index_259-265.qxd 7/18/02 11:48 AM Page 259 Index acceptance testing, 222 activity definition, 249 key concept in RUP, 40 Actor artifact analysis and iterative development, 98 described, 97 136 in the
More informationConnecting to Java MQ through JNDI Programmatically.
Connecting to Java MQ through JNDI Programmatically. Holger Paffrath, February 2009 The following document goes through how to set up JNDI for a queue in Java MQ and then gives you source code to read
More informationJ2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.
J2EE Development Detail: Audience www.peaksolutions.com/ittraining Java developers, web page designers and other professionals that will be designing, developing and implementing web applications using
More informationExample Purchase request JMS & MDB. Example Purchase request. Agenda. Purpose. Solution. Enterprise Application Development using J2EE
Enterprise Application Development using J2EE Shmulik London Lecture #8 JMS & MDB Example Purchase request Consider an online store A customer browse the catalog and add items to his/her shopping cart
More informationChapter 6 Enterprise Java Beans
Chapter 6 Enterprise Java Beans Overview of the EJB Architecture and J2EE platform The new specification of Java EJB 2.1 was released by Sun Microsystems Inc. in 2002. The EJB technology is widely used
More informationDistributed Systems. Messaging and JMS Distributed Systems 1. Master of Information System Management
Distributed Systems Messaging and JMS 1 Example scenario Scenario: Store inventory is low This impacts multiple departments Inventory Sends a message to the factory when the inventory level for a product
More informationEnterprise JavaBeans. Layer:01. Overview
Enterprise JavaBeans Layer:01 Overview Agenda Course introduction & overview. Hardware & software configuration. Evolution of enterprise technology. J2EE framework & components. EJB framework & components.
More informationEnterprise JavaBeans. Layer 05: Deployment
Enterprise JavaBeans Layer 05: Deployment Agenda Discuss the deployment descriptor including its structure and capabilities. Discuss JNDI as it pertains to EJB. Last Revised: 10/2/2001 Copyright (C) 2001
More informationOracle 10g: Build J2EE Applications
Oracle University Contact Us: (09) 5494 1551 Oracle 10g: Build J2EE Applications Duration: 5 Days What you will learn Leading companies are tackling the complexity of their application and IT environments
More informationCO Java EE 7: Back-End Server Application Development
CO-85116 Java EE 7: Back-End Server Application Development Summary Duration 5 Days Audience Application Developers, Developers, J2EE Developers, Java Developers and System Integrators Level Professional
More informationBEAWebLogic Server and WebLogic Express. Programming WebLogic JNDI
BEAWebLogic Server and WebLogic Express Programming WebLogic JNDI Version 10.0 Document Revised: March 30, 2007 Contents 1. Introduction and Roadmap Document Scope and Audience.............................................
More informationApplication Servers in E-Commerce Applications
Application Servers in E-Commerce Applications Péter Mileff 1, Károly Nehéz 2 1 PhD student, 2 PhD, Department of Information Engineering, University of Miskolc Abstract Nowadays there is a growing demand
More informationExample simple-mdb can be browsed at https://github.com/apache/tomee/tree/master/examples/simple-mdb
Simple MDB Example simple-mdb can be browsed at https://github.com/apache/tomee/tree/master/examples/simple-mdb Below is a fun app, a chat application that uses JMS. We create a message driven bean, by
More informationProblems in Scaling an Application Client
J2EE What now? At this point, you understand how to design servers and how to design clients Where do you draw the line? What are issues in complex enterprise platform? How many servers? How many forms
More informationIntroduction to componentbased software development
Introduction to componentbased software development Nick Duan 8/31/09 1 Overview What is a component? A brief history of component software What constitute the component technology? Components/Containers/Platforms
More informationOracle Exam 1z0-895 Java EE 6 Enterprise JavaBeans Developer Certified Expert Exam Version: 14.0 [ Total Questions: 90 ]
s@lm@n Oracle Exam 1z0-895 Java EE 6 Enterprise JavaBeans Developer Certified Expert Exam Version: 14.0 [ Total Questions: 90 ] Oracle 1z0-895 : Practice Test Question No : 1 A developer wants to create
More informationJ2EE - Version: 25. Developing Enterprise Applications with J2EE Enterprise Technologies
J2EE - Version: 25 Developing Enterprise Applications with J2EE Enterprise Technologies Developing Enterprise Applications with J2EE Enterprise Technologies J2EE - Version: 25 5 days Course Description:
More informationIntroduction Abstract. 1.2 Overview. This specification describes the objectives and functionality of the Java TM Message Service (JMS).
Introduction 1 1.1 Abstract This specification describes the objectives and functionality of the Java TM Message Service (JMS). JMS provides a common way for Java programs to create, send, receive and
More informationJ2EE Interview Questions
1) What is J2EE? J2EE Interview Questions J2EE is an environment for developing and deploying enterprise applications. The J2EE platform consists of a set of services, application programming interfaces
More informationVision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1
Umair Javed 2004 J2EE Based Distributed Application Architecture Overview Lecture - 2 Distributed Software Systems Development Why J2EE? Vision of J2EE An open standard Umbrella for anything Java-related
More informationWeb Design and Applications
Web Design and Applications JEE, Message-Driven Beans Gheorghe Aurel Pacurar JEE, Message-Driven Beans Java Message Service - JMS Server JMS is a standard Java API that allows applications to create, send,
More informationJava EE 7: Back-End Server Application Development
Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Java EE 7: Back-End Server Application Development Duration: 5 Days What you will learn The Java EE 7: Back-End Server Application
More informationApplication Servers G Session 11 - Sub-Topic 2 Using Enterprise JavaBeans. Dr. Jean-Claude Franchitti
Application Servers G22.3033-011 Session 11 - Sub-Topic 2 Using Enterprise JavaBeans Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences
More informationNetBeans IDE Field Guide
NetBeans IDE Field Guide Copyright 2005 Sun Microsystems, Inc. All rights reserved. Table of Contents Extending Web Applications with Business Logic: Introducing EJB Components...1 EJB Project type Wizards...2
More informationHistory of Enterprise Java
History of Enterprise Java! At first: Sun focused on the Java Development Kit (JDK) " Remember that Java is a spec, not a technology " Different vendors can implement Java " The JDK became the de-facto
More informationAgenda. Summary of Previous Session. Extreme Java G Session 3 - Main Theme Java Core Technologies (Part I)
Extreme Java G22.3033-007 Session 3 - Main Theme Java Core Technologies (Part I) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences 1
More informationDistributed Systems/Middleware JMS
Distributed Systems/Middleware JMS Introduction to MOM RPC/RMI foster a synchronous model Natural programming abstraction, but: Supports only point-to-point interaction Synchronous communication is expensive
More informationESIR SR. Unit 10a: JGroups. François Taïani
ESIR SR Unit 10a: JGroups François Taïani Overview of the Session n What is JMS n Messages vs. RPC See lecture on indirect communication n Interaction Styles n Main JMS Classes n Advanced Features F. Taiani
More informationEJB ENTERPRISE JAVA BEANS INTRODUCTION TO ENTERPRISE JAVA BEANS, JAVA'S SERVER SIDE COMPONENT TECHNOLOGY. EJB Enterprise Java
EJB Enterprise Java EJB Beans ENTERPRISE JAVA BEANS INTRODUCTION TO ENTERPRISE JAVA BEANS, JAVA'S SERVER SIDE COMPONENT TECHNOLOGY Peter R. Egli 1/23 Contents 1. What is a bean? 2. Why EJB? 3. Evolution
More informationJNDI. Java Naming and Directory Interface. See also:
JNDI Java Naming and Directory Interface See also: http://java.sun.com/products/jndi/tutorial/trailmap.html Naming service A naming service is an entity that associates names with objects.we call this
More informationDistributed Multitiered Application
Distributed Multitiered Application Java EE platform uses a distributed multitiered application model for enterprise applications. Logic is divided into components https://docs.oracle.com/javaee/7/tutorial/overview004.htm
More informationUser Guide. The mom4j development team
http://mom4j.sourceforge.net The mom4j development team 01.12.2004 Table of Contents 1. INTRODUCTION...3 2. INSTALLING AND RUNNING MOM4J...3 3. JNDI (JAVA NAMING AND DIRECTORY INTERFACE)...3 4. CONFIGURATION...3
More informationUsing Message Driven Beans.
Using Message Driven Beans Gerald.Loeffler@sun.com Contents JMS - Java Messaging Service EJBs - Enterprise Java Beans MDBs - Message Driven Beans MDB Usage Szenarios 2002-04-22 Gerald.Loeffler@sun.com
More informationApplication Development Considerations
IBM Software Group WebSphere MQ V7.0 Application Development Considerations An IBM Proof of Technology 2008 IBM Corporation Unit Agenda Basic WebSphere MQ API Constructs Java Message Service (JMS) Programming
More informationTeamcenter Global Services Customization Guide. Publication Number PLM00091 J
Teamcenter 10.1 Global Services Customization Guide Publication Number PLM00091 J Proprietary and restricted rights notice This software and related documentation are proprietary to Siemens Product Lifecycle
More informationOracle9iAS Tech nicaloverview
Oracle9iAS Tech nicaloverview e-business Integration Management & Security Portals Sandor Nieuwenhuijs Manh-Kiet Yap J2EE & Web Services 9iAS EMEA Product Management Oracle Corporation Business Intelligence
More informationEnterprise JavaBeans (I) K.P. Chow University of Hong Kong
Enterprise JavaBeans (I) K.P. Chow University of Hong Kong JavaBeans Components are self contained, reusable software units that can be visually composed into composite components using visual builder
More informationOverview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture
Preface p. xix About the Author p. xxii Introduction p. xxiii Overview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture
More informationReading Assignment (Prepare yourself for the next assignment)
Reading Assignment (Prepare yourself for the next assignment) Client-side technologies: Java Applications http://java.sun.com/docs/books/tutorial/getstarted/toc.html Java Applets. http://java.sun.com/docs/books/tutorial/getstarted/toc.html
More informationProjects. How much new information can fit in your brain? Corporate Trainer s Profile TECHNOLOGIES
Corporate Solutions Pvt. Ltd. How much new information can fit in your brain? Courses Core Java+Advanced Java+J2EE+ EJP+Struts+Hibernate+Spring Certifications SCJP, SCWD, SCBCD, J2ME Corporate Trainer
More informationServer and WebLogic Express
BEAWebLogic Server and WebLogic Express Programming WebLogic JNDI Version 9.0 Document Revised: July 22, 2005 Copyright Copyright 2005 BEA Systems, Inc. All Rights Reserved. Restricted Rights Legend This
More informationCHAPTER 1 FUNDAMENTALS
CHAPTER 1 FUNDAMENTALS OBJECTIVES After completing Fundamentals, you will be able to: Describe the motivation for the Java Message Service, and it s place in the broader Java EE architecture. Distinguish
More informationJava Enterprise Edition
Java Enterprise Edition The Big Problem Enterprise Architecture: Critical, large-scale systems Performance Millions of requests per day Concurrency Thousands of users Transactions Large amounts of data
More information(9A05803) WEB SERVICES (ELECTIVE - III)
1 UNIT III (9A05803) WEB SERVICES (ELECTIVE - III) Web services Architecture: web services architecture and its characteristics, core building blocks of web services, standards and technologies available
More informationAn Event Service Implemented with J2EE for Integration of Enterprise Systems
Master s Thesis in Computer Science An Event Service Implemented with J2EE for Integration of Enterprise Systems by Markus Wurz Department of Microelectronics and Information Technology, Royal Institute
More informationOutline. Project Goal. Overview of J2EE. J2EE Architecture. J2EE Container. San H. Aung 26 September, 2003
Outline Web-based Distributed EJB BugsTracker www.cs.rit.edu/~sha5239/msproject San H. Aung 26 September, 2003 Project Goal Overview of J2EE Overview of EJBs and its construct Overview of Struts Framework
More informationCourse Content for Java J2EE
CORE JAVA Course Content for Java J2EE After all having a lot number of programming languages. Why JAVA; yet another language!!! AND NOW WHY ONLY JAVA??? PART-1 Basics & Core Components Features and History
More informationGetting Started with JMS
Summary An introductionto using JMS with AltioLive. The example shows using Altio DB with JBoss 2. Level: Basic Applies to: AltioLive version 5.2 Date: February 2009 Integra SP 88 Wood Street London EC2V
More informationBEA WebLogic. Server. Programming WebLogic JNDI
BEA WebLogic Server Programming WebLogic JNDI Release 8.1 Revised: June 28, 2006 Copyright Copyright 2003 BEA Systems, Inc. All Rights Reserved. Restricted Rights Legend This software and documentation
More informationAccurate study guides, High passing rate! Testhorse provides update free of charge in one year!
Accurate study guides, High passing rate! Testhorse provides update free of charge in one year! http://www.testhorse.com Exam : 1Z0-850 Title : Java Standard Edition 5 and 6, Certified Associate Exam Version
More informationPLATFORM TECHNOLOGY UNIT-5
1. Write in brief about the J2EE enterprise edition? Java is one of the most commonly used and mature programming languages for building enterprise applications. Java development has evolved from small
More informationJava Technologies Resources and JNDI
Java Technologies Resources and JNDI The Context How to access all these resources in a similar manner? A resource is a program object that provides connections to other systems such as: database servers,
More informationJ2EE Packaging and Deployment
Summary of Contents Introduction 1 Chapter 1: The J2EE Platform 9 Chapter 2: Directory Services and JNDI 39 Chapter 3: Distributed Computing Using RMI 83 Chapter 4 Database Programming with JDBC 157 Chapter
More informationWebSphere 4.0 General Introduction
IBM WebSphere Application Server V4.0 WebSphere 4.0 General Introduction Page 8 of 401 Page 1 of 11 Agenda Market Themes J2EE and Open Standards Evolution of WebSphere Application Server WebSphere 4.0
More informationDeveloping Portable Applications for the Java 2 Platform, Enterprise Edition (J2EE )
Developing Portable Applications for the Java 2 Platform, Enterprise Edition (J2EE ) Kevin Osborn, Philippe Hanrigou, Lance Andersen Sun Microsystems, Inc. Goal Learn how to develop portable applications
More informationVendor: Oracle. Exam Code: 1Z Exam Name: Java Platform, Enterprise Edition 6 Enterprise JavaBeans Developer Certified Expert Exam.
Vendor: Oracle Exam Code: 1Z0-895 Exam Name: Java Platform, Enterprise Edition 6 Enterprise JavaBeans Developer Certified Expert Exam Version: Demo QUESTION 1 A developer needs to deliver a large-scale
More informationComponent-Based Software Engineering. ECE493-Topic 5 Winter Lecture 26 Java Enterprise (Part D)
Component-Based Software Engineering ECE493-Topic 5 Winter 2007 Lecture 26 Java Enterprise (Part D) Ladan Tahvildari Assistant Professor Dept. of Elect. & Comp. Eng. University of Waterloo J2EE Application
More informationJava 2 Platform, Enterprise Edition: Platform and Component Specifications
Table of Contents Java 2 Platform, Enterprise Edition: Platform and Component Specifications By Bill Shannon, Mark Hapner, Vlada Matena, James Davidson, Eduardo Pelegri-Llopart, Larry Cable, Enterprise
More informationEnterprise JavaBeans, Version 3 (EJB3) Programming
Enterprise JavaBeans, Version 3 (EJB3) Programming Description Audience This course teaches developers how to write Java Enterprise Edition (JEE) applications that use Enterprise JavaBeans, version 3.
More informationCommunication Technologies MoM JMS.NET. Part VI. Message-Oriented Middleware
Part VI Message-Oriented Middleware 174 Outline 1. Communication Technologies 2. Message-Oriented Middleware 3. JMS 4. Messaging and.net 175 Communication via RMI / RPC causes tight coupling of communicating
More informationProfessional JSP : Using JavaServer Pages, Servlets, EJB, JNDI, JDBC, XML, XSLT, And WML By Karl Avedal, Danny Ayers
Professional JSP : Using JavaServer Pages, Servlets, EJB, JNDI, JDBC, XML, XSLT, And WML By Karl Avedal, Danny Ayers Professional JSP : Using JavaServer Pages, Servlets, EJB, JNDI, JDBC, XML, XSLT, and
More informationUsing JNDI from J2EE components
Using JNDI from J2EE components Stand-alone Java program have to specify the location of the naming server when using JNDI private static InitialContext createinitialcontext() throws NamingException {
More informationCHAPTER 1 FUNDAMENTALS
CHAPTER 1 FUNDAMENTALS OBJECTIVES After completing Fundamentals, you will be able to: Describe the motivation for the Java Message Service, and it s place in the broader Java EE architecture. Distinguish
More informationJava EE 6: Develop Business Components with JMS & EJBs
Oracle University Contact Us: + 38516306373 Java EE 6: Develop Business Components with JMS & EJBs Duration: 4 Days What you will learn This Java EE 6: Develop Business Components with JMS & EJBs training
More informationIndex. attributes, visual modeling of, , 565, 566, 567, 568 authentication, Authorization Constraint wizard, , 396
A absolute positioning in Swing, 437 acknowledge mode, JMS messages, MDBs, and, 301 action beans, Struts and, 54, 55 Action class, Struts and, 65-68, 66, 67-68 action listeners, 442-443, 443, 448-451,
More informationMulti-tier architecture performance analysis. Papers covered
Multi-tier architecture performance analysis Papers covered Emmanuel Cecchet, Julie Marguerie, Willy Zwaenepoel: Performance and Scalability of EJB Applications. OOPSLA 02 Yan Liu, Alan Fekete, Ian Gorton:
More informationAdvanced Java Programming
Advanced Java Programming Length: 4 days Description: This course presents several advanced topics of the Java programming language, including Servlets, Object Serialization and Enterprise JavaBeans. In
More informationFast Track to Java EE
Java Enterprise Edition is a powerful platform for building web applications. This platform offers all the advantages of developing in Java plus a comprehensive suite of server-side technologies. This
More informationData Management in Application Servers. Dean Jacobs BEA Systems
Data Management in Application Servers Dean Jacobs BEA Systems Outline Clustered Application Servers Adding Web Services Java 2 Enterprise Edition (J2EE) The Application Server platform for Java Java Servlets
More informationFor this week, I recommend studying Chapter 2 of "Beginning Java EE 7".
For this week, I recommend studying Chapter 2 of "Beginning Java EE 7". http://find.lib.uts.edu.au/?r=opac_b2874770 261 We have been using a few container services and annotations but they have not been
More informationEnterprise Java Security Fundamentals
Pistoia_ch03.fm Page 55 Tuesday, January 6, 2004 1:56 PM CHAPTER3 Enterprise Java Security Fundamentals THE J2EE platform has achieved remarkable success in meeting enterprise needs, resulting in its widespread
More information<Insert Picture Here> WebLogic JMS Messaging Infrastructure WebLogic Server 11gR1 Labs
WebLogic JMS Messaging Infrastructure WebLogic Server 11gR1 Labs Messaging Basics Built-in Best-of-Breed Messaging (JMS) Engine Years of hardening. Strong performance.
More informationJava Lounge. Integration Solutions madeeasy ComparisonofJava Integration Frameworks. Mario Goller
Java Lounge Integration Solutions madeeasy ComparisonofJava Integration Frameworks Mario Goller 28.05.2013 BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART
More informationCourse title: ADVANCED WEB TECHNOLOGIES AND SERVICES
Course title: ADVANCED WEB TECHNOLOGIES AND SERVICES Lecturers Full Prof. Dragutin Kermek, Ph.D., Matija Novak, M.Inf. Language of Croatian and English instruction: Schedule: 90 teaching hours - 15 hours
More informationConnecting Enterprise Systems to WebSphere Application Server
Connecting Enterprise Systems to WebSphere Application Server David Currie Senior IT Specialist Introduction Many organisations have data held in enterprise systems with non-standard interfaces There are
More informationEnterprise Java Unit 1-Chapter 2 Prof. Sujata Rizal Java EE 6 Architecture, Server and Containers
1. Introduction Applications are developed to support their business operations. They take data as input; process the data based on business rules and provides data or information as output. Based on this,
More informationJava TM. Message-Driven Beans. Jaroslav Porubän 2007
Message-Driven Beans Jaroslav Porubän 2007 Java Message Service Vendor-agnostic Java API that can be used with many different message-oriented middleware Supports message production, distribution, delivery
More informationJAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP
2013 Empowering Innovation DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP contact@dninfotech.com www.dninfotech.com 1 JAVA 500: Core JAVA Java Programming Overview Applications Compiler Class Libraries
More informationWeb Application Development Using JEE, Enterprise JavaBeans and JPA
Web Application Development Using JEE, Enterprise Java and JPA Duration: 5 days Price: $2795 *California residents and government employees call for pricing. Discounts: We offer multiple discount options.
More informationAsynchrone Kommunikation mit Message Driven Beans
Asynchrone Kommunikation mit Message Driven Beans Arnold Senn (Technical Consultant) asenn@borland.com Outline Why Messaging Systems? Concepts JMS specification Messaging Modes Messages Implementation
More informationChapter 1 Introducing EJB 1. What is Java EE Introduction to EJB...5 Need of EJB...6 Types of Enterprise Beans...7
CONTENTS Chapter 1 Introducing EJB 1 What is Java EE 5...2 Java EE 5 Components... 2 Java EE 5 Clients... 4 Java EE 5 Containers...4 Introduction to EJB...5 Need of EJB...6 Types of Enterprise Beans...7
More informationJava Message System. Petr Adámek. April 11 th 2016
Java Message System Petr Adámek April 11 th 2016 What is this presentation about Why and how to use asynchronous communication. How to use JMS (but not only JMS). Commons mistakes and bests practices when
More informationDeveloping Applications with Java EE 6 on WebLogic Server 12c
Developing Applications with Java EE 6 on WebLogic Server 12c Duration: 5 Days What you will learn The Developing Applications with Java EE 6 on WebLogic Server 12c course teaches you the skills you need
More informationJAVA. Duration: 2 Months
JAVA Introduction to JAVA History of Java Working of Java Features of Java Download and install JDK JDK tools- javac, java, appletviewer Set path and how to run Java Program in Command Prompt JVM Byte
More informationpresentation DAD Distributed Applications Development Cristian Toma
Lecture 12 S4 - Core Distributed Middleware Programming in JEE Distributed Development of Business Logic Layer presentation DAD Distributed Applications Development Cristian Toma D.I.C.E/D.E.I.C Department
More informationBEAAquaLogic. Service Bus. Interoperability With EJB Transport
BEAAquaLogic Service Bus Interoperability With EJB Transport Version 3.0 Revised: February 2008 Contents EJB Transport Introduction...........................................................1-1 Invoking
More informationWebSphere Application Server - Overview
IBM Italia SpA WebSphere Application Server - Overview Marco Dragoni IBM Software Group Technical Sales Specialist IBM Italia S.p.A. Milan, 07 January 2008 2007 IBM Corporation Agenda IBM Value Assessment
More informationJ2EE for Glast. Matthew D. Langston (SLAC) 4/25/2004
J2EE for Glast Matthew D. Langston (SLAC) 4/25/2004 What is J2EE? Java 2 Platform, Enterprise Edition Current specification is J2EE version 1.4 A platform-agnostic operating system for developing componentbased
More informationBEA WebLogic Server. and BEA WebLogic Express. Introduction to BEA WebLogic Server 6.1
BEA WebLogic Server and BEA WebLogic Express Introduction to BEA WebLogic Server 6.1 BEA WebLogic Server Version 6.1 Document Date: June 24, 2002 Copyright Copyright 2002 BEA Systems, Inc. All Rights Reserved.
More informationWeb Application Development Using JEE, Enterprise JavaBeans and JPA
Web Application Development Using JEE, Enterprise Java and JPA Duration: 35 hours Price: $750 Delivery Option: Attend training via an on-demand, self-paced platform paired with personal instructor facilitation.
More informationOracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)
Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand) Code: URL: D101074GC10 View Online The Developing Applications for the Java EE 7 Platform training teaches you how
More informationPage 1. Extreme Java G Session 8 - Sub-Topic 2 OMA Trading Services
Extreme Java G22.3033-007 Session 8 - Sub-Topic 2 OMA Trading Services Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences Trading Services
More informationWhat we need. Agenda. What s J2EE. Challenges of Enterprise Application Development
Agenda.NET versus J2EE Felicia cheng Jarred zheng Jonathan Card Peng Li iao he Background Introduction J2EE Structure.NET Structure J2EE vs..net Conclusions Today s Enterprise Environment Challenges of
More informationModule 11 Developing Message-Driven Beans
Module 11 Developing Message-Driven Beans Objectives Describe the properties and life cycle of message-driven beans Create a JMS message-driven bean Create lifecycle event handlers for a JMS message-driven
More information