Session Descriptions
Domino to Java: The Building Blocks
Gain a fundamental understanding of Java and realize why it’s such an important technology for application development, and for Domino in particular. Explore the development environment and the tools that are used throughout the seminar. This session prepares you to leverage your existing LotusScript skills to learn Java.
Exposing Java Language Fundamentals
Eliminate the mystery surrounding Java with a straightforward explanation of its most important principles, constructs, and data types. In this session you:
- Dive into classes and see how they fit into your code hierarchy
- Follow along with step-by-step demos of Java project creation in Eclipse
- Examine fields, methods, packages, and other concepts
- See why it»s better to have an interface/base class than a generic object
- Get your feet wet in an interactive hands-on exercise to create your first Java application
Leveraging OOP – Everything is an Object
Dive into object-oriented programming (OOP) concepts, and learn how to unlock its power to build rock-solid, reusable Java code. You discover:
- The Java API and the 18 classes that are used most often
- Step-by-step instructions for implementing interfaces in Java
- Great tips to extend functionality using inheritance
- Where and when to take advantage of Enterprise JavaBeans
- Plus, you work through a functional exercise to bring all these OOP concepts together
Java and the Domino Object Model
Uncover the myriad possibilities for utilizing Java code in Domino to bring tremendous power, connectivity, and functionality to your applications. Get step-by-step instruction to:
- Leverage your knowledge of the Domino back-end classes so you can start writing Java code immediately
- Convert existing LotusScript Agents to Java Agents
- Configure the Eclipse development environment to write and debug Java Agents
- Tap into exciting new Domino Release 7 debugging capabilities
- Write Java in Eclipse for use as an Agent, script library, and/or servlet in Domino
Designing Agents in Eclipse
Start off by reviewing the solution to the Day One activity, then move on to expert techniques for efficiently modifying your Java code and establishing best practices. You learn how to:
- Use Java to open the door to faster and more accurate development with unit testing strategies
- Develop a Java Agent completely in Eclipse to speed up your development process
- Deploy a Java Agent in Domino and connect to Domino locally or remotely using IIOP
- Write to a browser in Java by producing XML and HTML output
Harnessing the Power of Libraries
Explore the powerful benefits of script libraries for Java and see how to seamlessly integrate them into your development model. In this session you:
- Follow a detailed JDBC library example so you can wrap your arms around the connection process from start to finish
- Learn how to create class libraries that can be utilized by multiple Agents in your database
- Understand how libraries can be utilized in the database they are coded in, but not others
- Pick up best practices to configure the Domino classpath so you can take advantage of third-party Java class libraries
Implementing Web Services and SOA
See how you can improve the agility, adaptability, and interoperability of your applications with Web Services and Service-Oriented Architecture. You find out how to leverage these critical technologies and:
- Which standards are most important (UDDI, WSDL, SOAP, and WSIF), and how they fit into the Web services landscape
- How to create a Web service consumer that reads Domino as well as external Web services
- How to parse XML with Java
- And, follow along with a demo of the new Domino 7 built-in capabilities that allow you to expose Domino Directory values as a Web service
Taking Advantage of Java Servlets
Dig into the servlet architecture to see how servlets can extend and enhance your Web servers. Walk through step-by-step examples to create servlets using Eclipse. You see first-hand how to:
- Decipher servlet architecture and functionality
- Deploy servlets to the Domino servlet engine so you can utilize them in your existing applications
- Leverage servlets to access Domino information
- Write output to a browser from a Domino servlet in different formats, including XML and HTML
Running Servlets on a J2EE Server Outside of Domino
Garner best practices as you walk through the process to configure Domino for servlet execution on an external J2EE server. You dive deep into:
- The deployment and execution of servlets on a J2EE server while still using Domino as your primary HTTP stack
- The most efficient testing methods from Eclipse
- How to segregate your application into three pieces through the Model-View-Controller (MVC) design architecture
- The Servlet Request/Response execution model and learn how to use remote Corba/IIOP to access Domino Objects
Making the Most of JavaServer Pages
Learn to make the most of JavaServer Pages (JSPs) to create truly dynamic Web pages. Understand the role of JSPs in the MVC design pattern and:
- Break down each component of the JSP document
- Learn how to write a JSP using the correct syntax
- Capitalize on the power of the Jakarta Java Standard Tag Library (JSTL), and find out how to use it to forward XML from a server to a JSP
- Pinpoint effective techniques for utilizing the Domino custom tag library to access Domino data from a JSP
Retrieving Relational Data with JDBC
Quickly get up to speed on JDBC (Java Database Connectivity) as you amass usage best practices and examine the details of its API. You discover:
- Exactly how to use JDBC to connect to relational data sources from servlets and Agents
- 3 major gotchas to avoid when using JDBC data access in Agents
- How to use a connection pool to connect to a data source
- Ways to leverage the Java Naming and Directory Interface (JNDI) to directly gain access to your directories and files and bring it to life through examples with Java Beans and JDBC Agents
Roadmap to the Future of Java and Domino
In this session you take a look into the future of Java and Domino development. Get answers to your most pressing questions about where the J2EE landscape is on the market today, and where it will be in a few years. You also:
- Gain exposure to struts, springs, JSFs, tapestry, and hibernate; all popular framework technologies that you can leverage for application creation
- Develop a basic understanding of design patterns
- Understand how the Java concepts covered during the seminar relate to IBM WebSphere Portal and IBM Workplace
- Identify potential gotchas, traps, and pitfalls so you can speed up your development time