Hosting your own web site - Contents Contents Chapter 1 Introduction 1 Documentation conventions
Contents Contents Chapter 1 Introduction 1 Documentation conventions . . . . . . . . . . . . . 1 Developer support and resources. . . . . . . . . . . 2 Contacting Borland Developer Support . . . . . . 2 Online resources. . . . . . . . . . . . . . . . . . 3 World Wide Web. . . . . . . . . . . . . . . . . . 3 Borland newsgroups. . . . . . . . . . . . . . . . 3 Usenet newsgroups . . . . . . . . . . . . . . . . 3 Reporting bugs . . . . . . . . . . . . . . . . . . 4 Chapter 2 An introduction to EJB development 5 Why we need Enterprise JavaBeans . . . . . . . . . 5 Roles in the development of an EJB application . . . 6 Application roles. . . . . . . . . . . . . . . . . . 6 Infrastructure roles. . . . . . . . . . . . . . . . . 7 Deployment and operation roles . . . . . . . . . . 7 EJB architecture . . . . . . . . . . . . . . . . . . . 7 The EJB server . . . . . . . . . . . . . . . . . . 8 The EJB container. . . . . . . . . . . . . . . . . 8 How an enterprise bean works . . . . . . . . . . 9 Types of enterprise beans . . . . . . . . . . . . . . 9 Session beans. . . . . . . . . . . . . . . . . . . 9 Entity beans. . . . . . . . . . . . . . . . . . . . 9 Message-driven beans. . . . . . . . . . . . . . .10 Remote and local access. . . . . . . . . . . . . . .10 Chapter 3 Developing enterprise beans with JBuilder 11 Configuring the JBuilder/server connection. . . . . .11 The EJB designer. . . . . . . . . . . . . . . . . . .12 EJB designer options . . . . . . . . . . . . . . .13 The EJB wizards . . . . . . . . . . . . . . . . . . .14 EJB Module and EJB designer wizards . . . . . . 14 EJB 1.x wizards . . . . . . . . . . . . . . . . . .14 EJB Test Client wizard. . . . . . . . . . . . . . .14 The EJB Module DD editor . . . . . . . . . . . . . .15 The development process . . . . . . . . . . . . . .15 Chapter 4 Working with the EJB designer 17 Introducing EJB modules . . . . . . . . . . . . . . .17 Creating an EJB module with the EJB Module wizard . . . . . . . . . . . . . . . . . .18 Creating an empty EJB module . . . . . . . .19 Copying an existing EJB module . . . . . . . . 19 Creating an EJB module node for a module existing in a directory outside your project . . . . . . . . . . . . . . . . . .20 Creating an EJB module node for an existing archive outside your project . . . . . 21 Creating an EJB module from existing deployment descriptors . . . . . . . . . . . . .21 Displaying the EJB designer. . . . . . . . . . . . . 22 Quickening the display of your EJBs . . . . . . . 23 Preventing the saving of EJB designer layout changes . . . . . . . . . . . . . . . . . 23 Creating enterprise beans with the EJB designer . . . . . . . . . . . . . . . . . . . . . . 24 How the EJB designer names EJB files . . . . . . . 25 Viewing a bean s source code. . . . . . . . . . . . 25 Modifying the bean . . . . . . . . . . . . . . . . .27 Editing bean attributes . . . . . . . . . . . . . . 27 Adding a newfield . . . . . . . . . . . . . . . . 27 Adding a newmethod . . . . . . . . . . . . . .28 Removing a method. . . . . . . . . . . . . . 29 Regenerating a bean s interfaces. . . . . . . . . 29 Setting package names for an enterprise bean. . . . . . . . . . . . . . . . . . . . . . . 29 Importing beans . . . . . . . . . . . . . . . . . . . 30 Organizing beans with views . . . . . . . . . . . . 30 Finding beans . . . . . . . . . . . . . . . . . .32 Arranging beans . . . . . . . . . . . . . . . . . 32 Removing beans. . . . . . . . . . . . . . . . . . . 32 Fixing errors in your bean . . . . . . . . . . . . . . 33 Viewing and editing the deployment descriptors. . . 33 Setting options for the EJB designer. . . . . . . . . 33 Chapter 5 Creating session beans with the EJB designer 35 Creating session beans . . . . . . . . . . . . . . . 35 How the EJB designer names session bean files. . . . . . . . . . . . . . . . . . . . . . . . . 37 Modifying the bean . . . . . . . . . . . . . . . . .37 Adding a newfield . . . . . . . . . . . . . . . . 38 Adding a newmethod . . . . . . . . . . . . . .39 Removing a method. . . . . . . . . . . . . . 40 Working with ejbCreate() methods . . . . . . . . 40 Taking the next step . . . . . . . . . . . . . . . . . 40 Chapter 6 Creating entity beans with the EJB designer 41 Creating CMP entity beans from an imported data source. . . . . . . . . . . . . . . . . . . . . 41 Importing a data source . . . . . . . . . . . . .41 Viewing schema names . . . . . . . . . . . . .43 jndi-definitions.xml . . . . . . . . . . . . . . . . 43 Modifying the imported data source schema . . . 43 Generating the entity bean classes and interfaces . . . . . . . . . . . . . . . . . . . . 45 Editing entity bean properties . . . . . . . . . . 46 Referencing another table. . . . . . . . . . . 47 WebLogic table mappings. . . . . . . . . . . 49 Entity bean field and method inspectors . . . 52 Creating entity bean relationships . . . . . . . . 52 Using the relationship inspector to specify a relationship . . . . . . . . . . . .53 i
Have you tried other web hosting companies and found out that their focus and your focus are in clash?Check our filemaker web hosting services.