1 Quick Tour of Pramati Studio
Overview
Studio User Interface
Using View Options
Enterprise Editor
File templates
Bean Wizard
Refactor Tool
Interface Wizard
Query Designer
Resource Tool
User Manager
Package Tool
Deploy Tool
J2EE application Debugger
Migration Tool
Express Development
Developing code on multiple application servers
Version Control System, Concurrent Versions System, and SourceSafe
Creating Custom Tools with Open API
2 Organizing Source Files as a Desk in Studio
Overview
What is a desk
Desk root
Modules
Using desk templates
Creating a desk
Opening an existing desk
Active desk
Creating a folder in a desk
Creating an EJB module
Creating a Java module
Creating a Web module
Creating archives
Creating a blank folder
Desk properties
General properties
Build properties
Deploy properties
Repair properties
Converting the desk into an EAR
Archiving a desk
Migrating an old desk into Pramati Studio 3.5
Merging desks
Using the staging area
Closing a desk
Deleting a desk
Opening existing files
Opening Files from the Explore Panel
Importing files
Importing files into web modules
Viewing files in current desk
Viewing open files
Saving, closing, and printing files
3 JDK Support in Pramati Studio
Overview
Configuring JDK in Studio
Configuring Multiple JDK versions
Configuring JDK classpath and source path
4 Working with Studio Editor
Overview
Parts of Editor
Setting IDE options for Editor
Setting general properties
Setting Editor properties
Setting abbreviation properties
Setting colors and fonts
Using other Editor features
Word completion
Line completion
Joining lines
Viewing open files
Introducing a newline
Saving untitled files
Reopening last used files on Studio restart
Caret position in a file
Edit menu
Search menu
Using Incremental search
Adding, removing, and navigating between bookmarks
Regular expressions
5 Using File Templates to Create Java Files, Servlets, JSPs, Filters, and JSP Tag
Overview
Choosing a file type
Java
Servlet
JavaServer Pages
Filters
HTML
JSP Tag
Creating a file template
6 Java Coding Aids
Overview
Formatting Java code layout
Defining imports
BodyDeclaration
Code completion
Split string literals
Online validation of sources
Surrounding elements of code with constructs
Implementing methods
Overriding methods
Creating accessor methods for fields
Javadoc stub generation
Viewing Javadoc
Comment or uncomment lines in Java code
Source code browsing
Functionality of source code browsing for normal Java classes
Using declaration browser
Navigating between methods
Search facility
Viewing search results
7 HTML Coding Aids
Overview
Online validation of HTML sources
Online validation of HTML 4.0 compliant code
Formatting HTML
Tag, attribute, and value completion in HTML
Tag completion
Attribute completion
Value completion
8 Using XML Coding Aids in Pramati Studio
Overview
Online validation for XML code
Validation
Tag, attribute, and value completion in XML
Tag completion
Attribute completion
Value completion
Limitations
9 Defining Resources for Application
Overview
Starting Resources Tool
Using DataSource tab
Configuring database drivers
Importing resources from third-party servers
Using Mail resource
Using JMS
10 Working with Database Drivers and External JARs
Overview
Adding database drivers
External JARs
Adding external JARs to the configured server
11 Working with DBNavigator in Pramati Studio
Overview
DBNavigator requirements
Using DBNavigator in Studio
Using the Data tab
Using the Schema tab
12 Refactoring Java Code in Studio
Overview
Refactoring framework in Studio
Renaming elements in the code
Changing method signatures
When method signature can not be changed
Extracting a superclass from an existing class
Extracting an interface based on methods of a class
Moving properties of an anonymous class to an inner class
Declaring method, variable, field, and constructors
Limitations of refactoring
13 JSP Coding Aids
Overview
Validating JSPs
Applying Java coding aids to a JSP
Browsing JSP source code in Studio
Relative URI browsing
Custom tag source browsing
Source code browsing in a Java snippet
Formatting a JSP
JSP QuiCode
Java refactoring in a JSP
14 Developing Enterprise JavaBeans
Overview
EJBs and bean components that can be created using Bean Wizard
Organizing beans in a desk
Configuring bean properties
Java archive and bean properties
Setting deployment information
Creating bean properties
Cloning beans
Advantages of cloning
Cloning procedure
15 Creating Entity Beans that use CMP 2.0
Overview
Using Bean Wizard
Defining beans in Expert mode
Defining Container Managed Fields with database
Defining Container Managed Fields when existing database is not used
Defining Container Managed Relationships
Defining JOIN conditions
Defining create methods
Defining Home Methods
Defining business methods
Defining select methods
Defining finder methods
Defining bean interfaces
Selecting methods to be published in interfaces
Query methods for entity beans with CMP
16 Managing Container Managed Relationships in Pramati Studio
Overview
Starting the Relationship Manager
Using Relationship Manager
17 Creating Entity Beans with BMP 2.0
Overview
Defining beans
Defining Bean Managed Fields that use database
Defining Bean Managed Fields that do not use existing database
Creating ejbCreate methods
Defining ejbHome methods
Defining business methods
Defining finder methods
Selecting bean interfaces
Publishing methods in Home and Local Home interfaces
Publishing methods in Remote, Local interfaces
18 Creating Message Driven Beans
Overview
Defining Message Driven Beans
Defining Message Driven Beans
19 Creating EJB 1.1 Beans
Overview
Creating EJB 1.1 modules
Creating session beans
Creating entity beans
20 Designing Queries using the Query Manager in Studio
Overview
Designing SQL queries
Connecting to a database
Specifying tables to be queried
Specifying Search Criteria
Viewing the Generated Query
Importing Queries
Designing EJB QL Queries
21 Modifying Interfaces
Overview
Starting the Interface Wizard
Providing interface names
Publishing methods in Home and Local Home interfaces
Publishing methods in Remote and Local interfaces
22 Modifying Existing Beans & their Interfaces
Overview
Adding business methods
Adding create methods
Modifying container managed persistent fields
Configuring Container Managed Relationships
Adding new Finder Methods and queries
Adding EjbSelect Methods for CMP 2.0 beans
Table Mappings
Primary Key
Abstract Schema Names
Adding References
23 Using Express Development in Pramati Studio
Overview
Advantages of Express Development
Viewing Express Development output
Using Express Development with EJB module
File structure of EJB module created by Express Development
Modifying EJB module properties
Modifying packaging properties
Using Express Development with web module
File structure of a web module
Modifying web module properties
Deploying web module
Picking Servlets and Filters classes
Exporting web module into web archive
Modifying context root of a web module
Desk Root
Pending Tasks
Troubleshooting Tips
24 J2EE Coding Aids
Overview
Intelligent Features of J2EE Assistant
List of errors validated in Studio
Using online validation of J2EE code in Studio
J2EE refactoring in Studio
Using J2EE Assistant
Adding EJB References
Adding Resource References
Adding Resource Environment References
Bean Browser
Session Facade
Value Object
25 Writing EJB 2.0 Application on Pramati Studio
Overview
Creating a desk
Preparing a data resource
Adding JDBC drivers
Creating tables on target database
Defining data resource on a server
Generating Account bean with CMP 2.0
Selecting bean type
Creating Container Managed Fields
Components generated for PiggyBank
Generating a bean with CMR
Finder Methods
Components generated by Bean Wizard
Compiling the beans
Writing and using the JSP
Modifying the JSP code to look up beans
Deploy the Application
Add EJB reference to the Web module
Running the JSP
Accessing the application
26 Setting Security Parameters using Studio
Overview
Securing application access
Securing EJB components
Securing web components
Setting security constraints
Adding resource collection
Removing security constraints
Setting login configuration
Creating groups and users
27 Preparing Archives Using Package Tool Studio
Overview
Packaging components
Packaging into Java archives
Packaging into web archives
Packaging into Tag Libraries (Taglibs)
Packaging into enterprise archives
Deployment Descriptors
Exporting server specific archives
Configurable ejb-jar.xml location
Creating JARs, WARs, Taglibs And EARs
Opening JARs, WARs, Taglibs And EARs
Trouble shooting
Setting Icons and Displaying Names
Saving the Currently Opened Archives
28 Packaging EJB Components
Overview
Opening a JAR
Adding EJB or Helper Classes
Adding Files
Removing Beans
Updating the JAR
Saving the JAR
Closing the JAR
Reverting the JAR
Using the Bean Panel
Defining References for a bean
EJB References
Resource References
Security Role References
Resource Environment References
Defining Transaction Attributes
Setting Security Roles
Defining Method Permissions
Defining Environment Entries
Defining Container Managed Fields
Container Managed Relationships Data
Finder/Select Methods
Viewing XML Files
29 Packaging Web Components
Overview
Adding servlets and JavaServer Pages
Specifying Security Role References
Removing servlets and JSPs
Adding Jars, Classes and Files to a WAR
Adding Classes
Adding JAR
Adding Static Content
Adding Filters
Adding Taglibs
Updating a WAR
Setting EJB References
Setting Resource References
Setting Resource Environment References
Environment Entries
Login Configuration
Listeners
Context Parameters
Setting Security Roles
Setting Security Constraints
Removing Security Constraints
Specifying Servlet Mappings
MIME Mappings
Setting Welcome Files
Specifying Error Code Files and Exception Type Files
Saving WAR
Closing WAR
Reverting WAR
Viewing XML Files
30 Packaging Tags
Overview
Creating a taglib
Storing a Taglib
Adding Tags
Updating Taglib
Saving Taglib
Closing Taglib
Reverting Taglib
Viewing XML Files
31 Packaging into Enterprise Archives
Overview
Adding other archives to an enterprise archive
Deleting JARs and WARs
Adding RARs
Updating EAR
Update
Saving EAR
Closing EAR
Reverting EAR
Viewing XML Files
32 Working with Connectors
Overview
Deploying RARs in Studio
Deploying RARs directly
Deploying RAR with an EAR
Using RAR in Express Development
33 Compiling and Building Applications
Overview
Methods of compiling files
Configuring build settings
Configuring build properties for desk root
Configuring build properties for the modules
Using the Build Tool
Compiling
Building
Understanding how Build Tool Works
34 Debugging Applications using Pramati Studio Debugger
Overview
Key terms
Parts of Debugger
Editor
Console
Thread Viewer
Watches
Stack Frame Viewer
Debugger toolbar
Using Pramati Studio Debugger
Starting the Debugger
Deploying the application in built-in server in debug mode
Using breakpoints in debug mode
Adding a line breakpoint
Adding a exception breakpoint
Adding a method breakpoint
Adding a field watchpoint
Evaluate expression
Removing break points
Controlling program execution
Stepping into methods
Stepping over methods
Stepping out of methods
Remote debugging
Debugging JavaServer Pages
Debugging Enterprise JavaBeans
Debugging on Oracle and WebLogic Servers
Disconnecting the Debugger
Limitations of Studio debugger
35 Deploying Applications
Overview
Starting Deploy Tool
Starting the Server
Getting the Archive ready for deployment
Validating Applications
Setting Bean Properties
General Properties
Resolving EJB References
Resolving Resource References
Session Timeout
Setting Environment Properties
Using the Run As option
Resource Environment References
MDB Destinations
Viewing JAR Properties
General Information
Method Information
Container Managed Fields
Primary Key
Find-Query Mapping
Container Managed Relations
Concurrency
Setting Web Properties
General Properties
EJB Reference
Resource Reference
Resource Environment References
Environment Properties
Viewing WAR Properties
Resolving Security Role References
Setting RAR Properties
Saving the Archive
Deploying the Application
36 Migrating to Pramati Studio
Overview
How migration works
Migration report
Staging
Types of migration
Generic Migration
Specific application server migration
Configuring Migration Tool
Starting Migration
Making the Migrated desk "Ready-to-be-Deployed"
WebLogic 6.1 Migration Restrictions
37 Running J2EE Clients
Overview
Compiling the Client
Displaying Output Messages
Running HTML Client
Running JSP Client
Running Servlet Client
Running Java Client
Running the current Java file open in the editor
Running Clients in Debug Mode
38 Running Sample Applications in Pramati Studio
Overview
Working with iBank sample
Opening BankDesk
Working with shipped resource
Deploying the application on built-in Server
Running the application
Working with Numguess sample
Opening the desk
Deploying the application
Running the application
Working with Game of Eight sample
Opening the desk
Deploying the application
Running the application
Working with OrderBook sample
Opening the desk
Working with the shipped resource
Deploying the application on the current server
Running the application
Working with Stock Market sample
Opening the desk
Working with shipped resource
Deploying the application
Running the application
Deploying the application on a third party server
39 Running External Applications
Overview
Configuring executable files
Adding, modifying and deleting named runs
Argument list
Displaying output messages
40 Working with Visual SourceSafe
Overview
Configuring Visual SourceSafe as a tool
Configuring project mappings
Displaying dialogs during VSS command execution
Logging to Visual SourceSafe
Creating a New Project on Visual SourceSafe from desk module
Get Module From Visual SourceSafe
Checking Out files
Check In
Undo Checkout
Add to Visual SourceSafe
Getting Latest Version of a file
Remove from Visual SourceSafe
Show Differences
Studio Diff Tool
History
Refresh Status
41 Using Version Control Systems
Overview
Using Version Control System in Studio
42 Working with Concurrent Versions System
Overview
Configuring CVS as a tool
Checking out a new module in CVS
Using command line operations
Updating a module
Using Get Clean Copy option
Commiting changes made to files
Adding files to CVS repository
Using Add All option
Comparing file in a CVS repository to the local file
Using Studio Diff Tool
Viewing log information
Viewing file status
Removing a file or folder from repository
43 Configuring a Development Server
Overview
Registering a Server Instance
Server Instance Configuration
Adding Server Instance
Starting/Stopping Server
44 Working with Built-in Pramati Server
Overview
What is App Analyzer
Configuring built-in Pramati Server
Starting or stopping built-in Server
Deploying applications on built-in Server
Debugging applications on built-in Server
Using the Application Analyzer
45 Working with Pramati Enterprise Server
Overview
Configuring Enterprise Server in Studio
Creating Enterprise Server Instances
Working with Enterprise Server from Studio
46 Working with Oracle 9iAS
Overview
Configuring Oracle deployer
Creating Oracle server instances
Starting & Stopping Server
Defining datasource
Deploying on Oracle
Debugging on Oracle
Oracle Usage Restrictions
47 Working with WebLogic Server
Overview
Configuring WebLogic deployer
Creating WebLogic server instances
Starting & Stopping Server
Deploying on WebLogic
Debugging on WebLogic
WebLogic Usage Restrictions
48 Working with WebSphere 4.0
Overview
Configuring WebSphere 4.0 deployer
Creating WebSphere server instances
Starting & stopping server
Deploying applications on WebSphere using Studio
Deploying desk as an archive
Deploying an EJB module
Deploying a web module
Remote deployment
Log messages
Resources
Creating queries for EJB 1.1 beans
Creating WebSphere archives
WebSphere usage restrictions
49 Working with WebSphere 5.0
Overview
Configuring WebSphere 5.0 deployer
Setting classpath for Windows
Setting classpath for Linux
Creating WebSphere 5.0 server instances
Starting & Stopping Server
Deploying applications on WebSphere
Deploying Message Driven Beans
Deploying a desk
Deploying EJB module
Adding datasources
Queries for EJB 1.1 beans
Creating WebSphere archives
Remote deployment
Limitations in WebSphere usage
50 Configuring and Using Tomcat Deployer with Studio
Overview
Configuring Tomcat deployer
Creating Tomcat server instances
Starting & Stopping Tomcat server
Deploying applications on Tomcat
Local deployment
Adding datasources
Limitations in Tomcat usage
51 Selecting Studio Tools
Overview
Configuring a tool
Modifying tool properties
Deploying a tool
Configuring Cloudscape tool
Starting Cloudscape tool
Stopping Cloudscape tool
52 Adding Custom Tools to Pramati Studio
Overview
Writing a tool for Studio
Adding a manifest file to a JAR
About tools++
53 Working With Testing Tools
Overview
Unit Testing
Functionality Testing
Testing Tools in Studio
What is JSP Test Tool
Recording in JSP Test Tool
JSP Test GLobal Settings
Using JSP Test Tool
What is JUnit
Key terms
Writing and running a test using JUnit
What is Jakarta Cactus
Writing and running a test Using Cactus
54 Using Pramati Design Viewer with Studio
Overview
Advantages of using Viewer with Studio
Tool bars
Installing DesignViewer and configuring in Studio
Viewing design for a file
55 Using Struts with Pramati Studio
Overview
Struts Tag Libraries
Advantages:
Using Taglib tool with Studio
How to use Struts
Generating struts-config.xml
Generating Tag code
56 J2ME Wireless Tool Kit Integration
Overview
Installing J2ME Wireless Tool Kit
Configuring J2ME Tool Kit
Creating MIDlet suites
Creating an empty MIDlet suite
Creating MIDlets using existing sources
Creating MIDlets
Importing existing MIDlets
Customizing MIDlet suite properties
Compiling a MIDlet suite
Selecting a default device for the MIDlet
Verifying and packaging the MIDlet suite
Configuring Emulator properties
Exporting MIDlets to web modules
Debugging MIDlets
Troubleshooting
57 Web Services Tool
Overview
Runtime architecture
Understanding the concepts involved
Web Services Development Life cycle
Configuring the Tool
Web Services with Pramati Studio
Generating Test Clients
Developing Service Publication Utility
Distributing for Production
58 Using ArgoUML Tool
Overview
Working with ArgoUML in Studio
Using ArgoUML Modelling Tool
Creating a model, generating source and adding to desk
Creating a UML Model for a Desk Module
Opening an existing ArgoUML project from desk
59 Using Rose Import Tool in Pramati Studio
Overview
Features of Rose Import Tool
Configuring Rose Import Tool in Studio
Using Rose Import Tool
Generating sources
60 Integrating ANT with Pramati Studio
Overview
Creating ANT XMLs in Studio
Updating build.xml for changes to existing packages
Running ANT XMLs in Studio
61 Web Services Tool
Overview
Acumen runtime architecture in Studio
UDDI integration at runtime
Developing Service Publication Utility
Working with Acumen UDDI Registry
Distributing for Production
62 Keyboard Shortcuts for Pramati Studio 3.5
File
Framework shortcuts
Desk
Edit
Other Editor shortcuts
Search
Search in output panel
Build
Refactor
Code
Other shortcuts for coding aids
Shortcut in Studio Tools
J2EE Assistant
CVS
View
Debug