Speedo_1.4.5

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » Speedo_1.4.5 
Speedo
License:GNU Library or Lesser General Public License (LGPL)
URL:http://speedo.objectweb.org/index.html
Description:Speedo is an open source implementation of the JDO (TM) specification.
Package NameComment
abook.data
animals
bank
common
compositepk
inheritance.filtered.disc_hidden
inheritance.filtered.disc_in_pk
inheritance.filtered.disc_outof_pk
inheritance.horizontal.speedoid
invoice
map
org.objectweb.speedo

Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system.

Copyright (C) 2001-2004 France Telecom R&D

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Speedo architecture overview.

Overview

The Speedo product is a JDO implementation based on several objectweb frameworks: Jorm, Medor, Perseus. Speedo is built using the component model Fractal of Objectweb.

Architecture

Before trying to understand the Speedo architecture aknownledges on Jorm, Medor, Perseus and Fractal are required.

The following picture represents the Speedo component which is instanciated: The Speedo component

The org.objectweb.speedo.Speedo class is in charge of creating and initializing a Speedo component in respect with the user properties specified on the JDOHelper.

org.objectweb.speedo.ant Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA The ant task to run the speedo enhancer.
org.objectweb.speedo.ant.ejb
org.objectweb.speedo.ant.jdo
org.objectweb.speedo.api Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA The external Speedo API (for user).
org.objectweb.speedo.ejb Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2006 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Classes specific to the EJB personality.
org.objectweb.speedo.ejb.pobjects.basic
org.objectweb.speedo.ejb.pobjects.ref
org.objectweb.speedo.ejb.runtime.basic
org.objectweb.speedo.ejb.runtime.query.parser
org.objectweb.speedo.genclass Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA The management of generic persistent class (Collection, Set, Map).
org.objectweb.speedo.genclass.api Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Speedo internal API permiting to manage generic persistent classes and in particular the coherency of relations.
org.objectweb.speedo.genclass.collection Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Speedo implementations of generic classes associated to the Collection type (Collection, Set, List, ArrayList, HashSet, Vector).
org.objectweb.speedo.genclass.ejb
org.objectweb.speedo.genclass.jdo
org.objectweb.speedo.genclass.map Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Speedo implementations of generic classes associated to the Map type (Map, HashMap, Hashtable, Properties).
org.objectweb.speedo.genclass.merger Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Speedo tools merging the generic class GenClass with Speedo extention of java.util.XXX classes in order to avoid the code duplication.
org.objectweb.speedo.genclass.merger.ejb
org.objectweb.speedo.genclass.merger.jdo
org.objectweb.speedo.generation Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA The Speedo enhancer.
org.objectweb.speedo.generation.api Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Speedo enhancer internal API.
org.objectweb.speedo.generation.compiler Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Compiler used by the speedo enhancer to compile generated classes.
org.objectweb.speedo.generation.ejb
org.objectweb.speedo.generation.enhancer.aware
org.objectweb.speedo.generation.enhancer.common
org.objectweb.speedo.generation.enhancer.oid
org.objectweb.speedo.generation.enhancer.pc
org.objectweb.speedo.generation.enhancer.pc.jdo
org.objectweb.speedo.generation.generator Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA The speedo class generator used in the Speedo enhancer.
org.objectweb.speedo.generation.generator.api Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Internal Speedo generator API.
org.objectweb.speedo.generation.generator.ejb
org.objectweb.speedo.generation.generator.fields Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Generator of Speedo Fieds class (the state of persistent objects).
org.objectweb.speedo.generation.generator.home
org.objectweb.speedo.generation.generator.home.ejb
org.objectweb.speedo.generation.generator.home.jdo
org.objectweb.speedo.generation.generator.jdo
org.objectweb.speedo.generation.generator.lib
org.objectweb.speedo.generation.generator.objectid Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Generator of persistent class identifier (composite).
org.objectweb.speedo.generation.jdo
org.objectweb.speedo.generation.jorm Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Jorm generator and Jorm meta information builder.
org.objectweb.speedo.generation.jorm.rdb
org.objectweb.speedo.generation.lib Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Common class of the enhancer.
org.objectweb.speedo.generation.mivisitor Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Speedo meta information visitor used in ordet to fill it with 'forgotten' user information.
org.objectweb.speedo.generation.mivisitor.ejb
org.objectweb.speedo.generation.mivisitor.jdo
org.objectweb.speedo.generation.parser
org.objectweb.speedo.generation.parser.ejb
org.objectweb.speedo.generation.parser.jdo Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Parser of the .jdo file.
org.objectweb.speedo.generation.recompiler
org.objectweb.speedo.generation.serializer
org.objectweb.speedo.generation.start
org.objectweb.speedo.j2eedo J2EEDO APPLICATION description

This package contains a web application base on JDO facilities ; This application is named "J2EEDO". It's a sample of a Web application to be depoyed on a J2EE server.

Package description

This package contains two JUnit test case classes:

  • TestJ2eedoApplication allows to test the application in standalone mode directly form JUnit.
  • TestJ2eedoJ2ee allows to test the application deployed on a J2EE application server form JUnit.

The J2EEDO application

Introduction

It's a sample of a Web application to be depoyed on a J2EE server.

Application's description

This application provides with 16 types of action:
Action Description
ping Returns a fixed string to ensure the j2ee application is started.
newDept Creates a new department and some new employees (random number defined between 10 and 70).
newProj Creates a new project and affect few employees (random number defined between 5 and 20).
newEmp Selects one of the known departments and creates a new employee.
setDeptBoss Selects one of the known departments and sets the manager for the department's employees.
delEmployee Removes an employee.
delProject Removes a project.
splitProject Selects one of the known departments, creates a new project and duplicates the member list from the former project.
splitDepartment Selects one of the known departments, creates a new department and affect the 50% of the former employees and project to the latter department.
mergeDept Removes a department and adds all projects and employees to an other project.
incSalary Increase an employee's salary.
getDepartment Gets a department by id.
getProject Gets a project by id.
getEmployee Gets an employee by id.
queryEmployees Performs one of the four queries:
  • Get employee by its id,
  • Get employees between min and max,
  • Get employees having the same manager,
  • Get employees member of a project.
queryProjects Performs one of the two queries:
  • Get project by it's id,
  • Get projects by members.

All those actions can be called directly form a batch file or through an HTTP call to a servlet.

The called servlets (see Servlet detail), depending of HTTP parameters, can directly call the requested action, or call it using a Session bean container.

J2EEDO Application implementation

Database modele overview

This application implements the following data model built on 4 tables:

  • Department
  • Employee
  • Address
  • Project
Here is a visual representation of the j2eedo database schema.

Packages content

The application is made of 7 main java packages:

  • org.objectweb.speedo.j2eedo: contains two JUnit test case classes:

    • TestJ2eedoApplication allows to test the application in standalone mode directly form JUnit.
    • TestJ2eedoJ2ee allows to test the application deployed on a J2EE application server form JUnit.

  • org.objectweb.speedo.j2eedo.bo: contains all business object class handling the data modele.

    • DatabaseImpl is the main class and implements all defined actions. This class defines 3 static vectors used to store known department, employee and project. Those 3 local vectors must decrease the number of access to database object, they are also called the static polls.
      Remark:Those pool contents are update by the Synchronization class PollsSynchronizations each time a department, an employee or a project is added or removed. This task is performed while the current action is commited (when a transaction is required) otherwise, this treatment is done when the current Persistence Manager is closed.
    • PollsSynchronizations defines the Synchronization Object used to update DatabaseImpl's static polls content.
    • DepartmentFactory, EmployeeFactory and ProjectFactory classes define the different treatment on Department, Employee and Project

  • org.objectweb.speedo.j2eedo.common: contains is a tool box, it contains all common class used by the application.

  • org.objectweb.speedo.j2eedo.database: contains all classes to be enhanced used to access to the database content.

  • org.objectweb.speedo.j2eedo.ejb: contains is the EJB session definition.

    • StoreServices implements the interface to perform DatabaseImpl action in a Session Container.

  • org.objectweb.speedo.j2eedo.test: contains all test class use to highlight errors or behaviours.

    • MainLauncher is used for basic test implementation. The developper needs to create a new class extended of this class and writes its own test method doTest().
    • BasicTest executes 20 times all DatabaseImpl actions.
    • ShowConcurrencyErrors allows to highlight some conccurent access deadlocks and issues.

  • org.objectweb.speedo.j2eedo.web: contains the servlets classes' definition.

    • MainServlet executes current request:
      • Gets the Persistence manager when required (false by default),
      • Starts a local transaction when requested (false by default),
      • Calls the dedicated action directly or through a Session Bean Container (direct call by default),
      • Close the PM when initialized at the servlet level.
    • ApplicationServlet is an extended of the former servlet MainServlet. This class implements the two methods used to execute the resquest through a Session Bean or directly from the DataBaseImpl class.
org.objectweb.speedo.j2eedo.bo J2EEDO APPLICATION > package org.objectweb.speedo.j2eedo.bo

Description

This package contains all business object class handling the data modele.

  • DatabaseImpl is the main class and implements all defined actions. This class defines 3 static vectors used to store known department, employee and project. Those 3 local vectors must decrease the number of access to database object, they are also called the static polls.
    Remark:Those pool contents are update by the Synchronization class PollsSynchronizations each time a department, an employee or a project is added or removed. This task is performed while the current action is commited (when a transaction is required) otherwise, this treatment is done when the current Persistence Manager is closed.
  • PollsSynchronizations defines the Synchronization Object used to update DatabaseImpl's static polls content.
  • DepartmentFactory, EmployeeFactory and ProjectFactory classes define the different treatment on Department, Employee and Project
org.objectweb.speedo.j2eedo.common J2EEDO APPLICATION > package org.objectweb.speedo.j2eedo.common

Description

This package contains is a tool box, it contains all common class used by the application.

org.objectweb.speedo.j2eedo.database J2EEDO APPLICATION > package org.objectweb.speedo.j2eedo.database

Description

This package contains all classes to be enhanced used to access to the database content.

org.objectweb.speedo.j2eedo.ejb J2EEDO APPLICATION > package org.objectweb.speedo.j2eedo.ejb

Description

This package contains is the EJB session definition.

  • StoreServices implements the interface to perform DatabaseImpl action in a Session Container.
org.objectweb.speedo.j2eedo.test
org.objectweb.speedo.j2eedo.web J2EEDO APPLICATION > package org.objectweb.speedo.j2eedo.web

Description

This package contains the servlets classes' definition.

  • MainServlet is an abstract class. It executes current request:
    • Gets the Persistence manager when required (false by default),
    • Starts a local transaction when requested (false by default),
    • Calls the dedicated action directly or through a Session Bean Container (direct call by default),
    • Close the PM when initialized at the servlet level.
  • ApplicationServlet is an extended of the former servlet MainServlet. This class implements the two methods used to execute the resquest through a Session Bean or directly from the DataBaseImpl class.
org.objectweb.speedo.jca Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA The JCA connector for integrating Speedo into a J2EE application server.
org.objectweb.speedo.jca.jdo
org.objectweb.speedo.jdo Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2006 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Classes specific to the JDO personality.
org.objectweb.speedo.jmx Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2006 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Administration of Speedo through JMX MBean and HTTP console
org.objectweb.speedo.jmx.api
org.objectweb.speedo.jmx.mbeans
org.objectweb.speedo.lib Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Implementation of the Speedo external API.
org.objectweb.speedo.locale Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2006 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Internationalization of Speedo
org.objectweb.speedo.mapper.api Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA API of a Jorm mapper used in Speedo.

A Jorm mapper for speedo is a composite component. Here is a picture representing this composite: The Mapper component

This composite contains 4 components:

  • The JormStorageManage component is in charge of managing the I/O with the data support (read, write) and the identifier management (export, unexport, bind)
  • The JormFactory is in charge of the initialisation of the persistent classes and the loading of Jorm meta information.
  • The Mapper is in charge of referencing persistent classes initialized and the connection allocation. The connections permit to access the data support.
  • The Pool is used by the Mapper in order to pool physical connection, when it is not already done by the connection provider.

org.objectweb.speedo.mapper.jca Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA The JCA mapper definition.
org.objectweb.speedo.mapper.lib Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Common components and tools of all mappers.
org.objectweb.speedo.mapper.rdb Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA The Rdb (relational database) mapper definition
org.objectweb.speedo.metadata Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA The Speedo meta information used for the persistent class enhancement.
org.objectweb.speedo.metadata.ejb
org.objectweb.speedo.metadata.jdo
org.objectweb.speedo.mim.api Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Speedo internal API for the management of persistent classes (status, state, eg).
org.objectweb.speedo.mim.ejb.lib
org.objectweb.speedo.mim.jdo.api
org.objectweb.speedo.mim.jdo.lib
org.objectweb.speedo.mim.lib
org.objectweb.speedo.naming.api Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Speedo internal API permiting to define the persistent object naming (identifier).
org.objectweb.speedo.naming.lib Speedo: an implementation of JDO compliant personality on top of JORM generic I/O sub-system. Copyright (C) 2001-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Implementation of several naming.

The supported naming are:

  • UserIdSingle: the identifier is based on a single persistent field,
  • UserIdComposite: the identifier is based on a set of persistent field,
  • RdbSequence: the identifier is based on a single persistent field which values are choosen by a sequence on a relational database.
  • LongId: the identifier is based on single long composed of two parts (class idendifier (high bits), instance identifier (low bits)). The value are choosen by the implementation (Jorm facilities) through persistent generators.
  • OLongId: the identifier is based on single java.lang.Long composed of two parts (class idendifier (high bits), instance identifier (low bits)). The value are choosen by the implementation (Jorm facilities) through persistent generators.
  • PolymorphId: the identifier is based on couple of long (class idendifier, instance identifier). The value are choosen by the implementation (Jorm facilities).

org.objectweb.speedo.pm.api
org.objectweb.speedo.pm.ejb.api
org.objectweb.speedo.pm.ejb.lib
org.objectweb.speedo.pm.jdo.api
org.objectweb.speedo.pm.jdo.lib
org.objectweb.speedo.pm.lib
org.objectweb.speedo.pobjects.basic
org.objectweb.speedo.pobjects.cap
org.objectweb.speedo.pobjects.collection
org.objectweb.speedo.pobjects.collection.serialization
org.objectweb.speedo.pobjects.common
org.objectweb.speedo.pobjects.detach
org.objectweb.speedo.pobjects.detach.groupama
org.objectweb.speedo.pobjects.fetchgroup
org.objectweb.speedo.pobjects.inheritance.ejboo
org.objectweb.speedo.pobjects.inheritance.ejboo2
org.objectweb.speedo.pobjects.inheritance.filtered
org.objectweb.speedo.pobjects.inheritance.filtered.datastorelid
org.objectweb.speedo.pobjects.inheritance.filtered.jdo2.hid
org.objectweb.speedo.pobjects.inheritance.filtered.jdo2.vid
org.objectweb.speedo.pobjects.inheritance.filtered.thales
org.objectweb.speedo.pobjects.inheritance.filterOutOfPK.composite
org.objectweb.speedo.pobjects.inheritance.filterOutOfPK.rdbsequence
org.objectweb.speedo.pobjects.inheritance.filterOutOfPK.single
org.objectweb.speedo.pobjects.inheritance.horizontal
org.objectweb.speedo.pobjects.inheritance.index
org.objectweb.speedo.pobjects.inheritance.prefetch
org.objectweb.speedo.pobjects.inheritance.query
org.objectweb.speedo.pobjects.inheritance.userCache
org.objectweb.speedo.pobjects.intelli
org.objectweb.speedo.pobjects.map
org.objectweb.speedo.pobjects.multitable
org.objectweb.speedo.pobjects.odis
org.objectweb.speedo.pobjects.ref
org.objectweb.speedo.pobjects.ref.cursor
org.objectweb.speedo.pobjects.ref.fkId
org.objectweb.speedo.pobjects.relations
org.objectweb.speedo.pobjects.relations.mn
org.objectweb.speedo.pobjects.relations.mn.p1
org.objectweb.speedo.pobjects.relations.ni_ejboo
org.objectweb.speedo.pobjects.relations.oneMany
org.objectweb.speedo.pobjects.sequence.basic
org.objectweb.speedo.pobjects.sequence.id
org.objectweb.speedo.pobjects.sequence.id.inheritance
org.objectweb.speedo.pobjects.sequence.id.speedoExtension
org.objectweb.speedo.pobjects.tck
org.objectweb.speedo.pobjects.unilog
org.objectweb.speedo.pobjects.userid
org.objectweb.speedo.query.api
org.objectweb.speedo.query.ejb
org.objectweb.speedo.query.ejb.parser
org.objectweb.speedo.query.jdo
org.objectweb.speedo.query.jdo.parser
org.objectweb.speedo.query.lib
org.objectweb.speedo.runtime.basic
org.objectweb.speedo.runtime.cap
org.objectweb.speedo.runtime.collection
org.objectweb.speedo.runtime.concurrency
org.objectweb.speedo.runtime.detach
org.objectweb.speedo.runtime.fetchgroup
org.objectweb.speedo.runtime.inheritance
org.objectweb.speedo.runtime.jca
org.objectweb.speedo.runtime.jmx
org.objectweb.speedo.runtime.map
org.objectweb.speedo.runtime.odis
org.objectweb.speedo.runtime.query
org.objectweb.speedo.runtime.query.parser
org.objectweb.speedo.runtime.ref
org.objectweb.speedo.runtime.ref.fkId
org.objectweb.speedo.runtime.relations
org.objectweb.speedo.runtime.relations.mn
org.objectweb.speedo.runtime.sequence.basic
org.objectweb.speedo.runtime.sequence.id
org.objectweb.speedo.runtime.sequence.id.inheritance
org.objectweb.speedo.runtime.sequence.id.speedoExtension
org.objectweb.speedo.runtime.tck
org.objectweb.speedo.runtime.unilog
org.objectweb.speedo.runtime.userid
org.objectweb.speedo.sequence.api
org.objectweb.speedo.sequence.jdo
org.objectweb.speedo.sequence.lib
org.objectweb.speedo.stress
org.objectweb.speedo.tools
org.objectweb.speedo.tutorial
org.objectweb.speedo.tutorial.appli.additional.detach
org.objectweb.speedo.tutorial.appli.additional.inheritance
org.objectweb.speedo.tutorial.appli.additional.queries
org.objectweb.speedo.tutorial.appli.basics
org.objectweb.speedo.tutorial.appli.mapping
org.objectweb.speedo.tutorial.pobjects.additional.detach
org.objectweb.speedo.tutorial.pobjects.additional.inheritance
org.objectweb.speedo.tutorial.pobjects.additional.queries
org.objectweb.speedo.tutorial.pobjects.basics
org.objectweb.speedo.tutorial.pobjects.mapping
org.objectweb.speedo.usercache.api
org.objectweb.speedo.usercache.lib
org.objectweb.speedo.workingset.api
org.objectweb.speedo.workingset.ejb.api
org.objectweb.speedo.workingset.ejb.lib
org.objectweb.speedo.workingset.filter
org.objectweb.speedo.workingset.jdo.api
org.objectweb.speedo.workingset.jdo.lib
org.objectweb.speedo.workingset.lib
relation.many_to_many
relation.one_to_many
relation.one_to_one
secondarytable
simpleclass
simplecollection
simplereference
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.