1. A method of extending EJB Handles for use with Enterprise JavaBeans (EJBs) to provide a SmartHandle, comprising the steps of:
maintaining an Entity EJB object relationship through a combination of a proxy pattern, an EJB Handle, and a primary key of the EJB Handle;
storing EJB Home class from which an Entity EJB was generated and from which said Entity EJB can be re-instantiated;
maintaining an instance of a SmartKey that describes said primary key for a database column to which an Entity EJB object is mapped; and
delegating to a SmartKey class that implements a java code to perform a field-by-field comparison of attributes associated with said primary key thereby permitting two EJB Handles to be compared without instantiating the corresponding Entity EJB.
2. The method of claim 1, further comprising the steps of instantiating said Entity EJB object associated with said SmartHandle with a single method invocation.
3. The method of claim 2, wherein said single method invocation includes the steps of:
locating said EJB Home class using Java Naming and Directory Interface (JNDI);
using reflection to obtain an ejbFindByPrimaryKey method; and
invoking said ejbFindByPrimaryKey method with said SmartKey.
4. The method of claim 1, wherein said SmartKey includes said primary key of the EJB Handle, thereby providing portability to said Entity EJB object.
5. The method of claim 1, further comprising the step of assigning each attribute of said Entity EJB object and said SmartKey to a separate column within a relational database table, thereby permitting said SmartHandle to be mapped to a multi-column relational database table.
6. The method of claim 1, wherein said SmartHandle includes at least attributes HomeClassName, KeyClassName, and HomeName.
7. A SmartHandle for extending EJB Handles for use with Enterprise JavaBeans (EJBs), comprising:
EJB Home class from which an Entity EJB was generated and from which said Entity EJB can be re-instantiated; and
an instance of a SmartKey that describes said primary key for a database column to which an Entity EJB object is mapped; and
wherein said SmartHandle maintains an Entity EJB object relationship through a combination of a proxy pattern, an EJB Handle, and a primary key of the EJB Handle and delegates to a SmartKev class that implements a java code to perform a field-by-field comparison of attributes associated with said primary key, thereby permitting two EJB Handles to be compared without instantiating the corresponding Entity EJB Objects.
8. The SmartHandle of claim 7, wherein said Entity EJB object associated with said SmartHandle being instantiated with a single method invocation.
9. The SmartHandle of claim 8, wherein said single method invocation is operable to locate said EJB Home class using Java Naming and Directory Interface (JNDI), use reflection to obtain an ejbFindByPrimaryKey method, and invoke said ejbFindByPrimaryKey method with said SmartKey.
10. The SmartHandle of claim 7, wherein said SmartKey includes said primary key of the EJB Handle, thereby providing portability to said Entity EJB object.
11. The SmartHandle of claim 7, wherein each attribute of said Entity EJB object and said SmartKey is assigned to a separate column within a relational database table, thereby permitting said SmartHandle to be mapped to a multi-column relational database table.
12. The SmartHandle of claim 7, wherein said SmartHandle includes at least attributes HomeClassName, KeyClassName, and HomeName.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A liquid crystal module, comprising:
a housing, comprising a bottom plate and a frame wall, wherein the bottom plate has a bearing surface, and the frame wall is connected to the bottom plate and protrudes from the bearing surface;
a light guide plate, disposed on the bearing surface and having a light emitting surface, a bottom surface, and a light incident side surface connected between the light emitting surface and the bottom surface, wherein the bottom surface is located opposite to the bearing surface, and the frame wall surrounds the light guide plate;
at least one optical film, disposed above the light emitting surface;
a liquid crystal panel, disposed above the optical film;
a light bar, comprising a first circuit board and at least one light emitting element, wherein the light emitting element is mounted on the first circuit board and located opposite to the light incident side surface, and between the first circuit board and the bearing surface, and the first circuit board is located between the liquid crystal panel and the light emitting surface, and partially covers the light emitting surface;
a second circuit board, having a mounting surface;
a flexible flat cable (FFC), connected between the second circuit board and the liquid crystal panel; and
an electrical connector, mounted on the mounting surface, wherein the first circuit board has a connection end, and the connection end and the electrical connector are combined with and electrically connected to each other;
wherein the first circuit board comprises:
an extension part, having the connection end and disposed on the mourning surface;
a main body, connected to the extension part, wherein the light emitting element is mounted on the main body; and
a handle part connected to the extension part, wherein the extension part is located between the handle part and the mounting surface.
2. The liquid crystal module according to claim 1, further comprising a reflective sheet, wherein the reflective sheet is disposed between the bearing surface and the bottom surface, and the light emitting element is located between the first circuit board and the reflective sheet.
3. The liquid crystal module according to claim 1, wherein the first circuit board is a flexible circuit board.
4. The liquid crystal module according to claim 1, wherein the light emitting element is a side-view type light emitting diode (LED).
5. The liquid crystal module according to claim 1, wherein the first circuit board is located between the optical film and the light emitting surface.
6. The liquid crystal module according to claim 1, wherein the frame wall further has an opening located opposite to the light incident side surface, and the extension part passes through the opening and is located outside the housing.
7. The liquid crystal module according to claim 1, wherein the handle part is in a shape of a sheet, and the handle part is pivotally connected to the extension part.
8. The liquid crystal module according to claim 1, wherein the liquid crystal panel has a display surface and a rear surface opposite to the display surface, the optical film is located opposite to the rear surface, and the electrical connector is exposed beside the display surface.
9. The liquid crystal module according to claim 1, wherein the second circuit board is a rigid circuit board.
10. A method for assembling a liquid crystal module, comprising:
providing a housing comprising a bottom plate and a frame wall, wherein the bottom plate has a bearing surface, and the frame wall is connected to the bottom plate and protrudes from the bearing surface;
placing a light guide plate on the bearing surface, wherein the light guide plate has a light emitting surface, a bottom surface, and a light incident side surface connected between the light emitting surface and the bottom surface, and the bottom surface is located opposite to the bearing surface, and the frame wall surrounds the light guide plate;
placing a light bar inside the housing after the light guide plate is placed on the bearing surface, wherein the light bar comprises a first circuit board and at least one light emitting element, the light emitting element is mounted on the first circuit board and located opposite to the light incident side surface, and between the first circuit board and the bearing surface, and the first circuit board partially covers the light emitting surface;
placing at least one optical film above the light emitting surface; and
placing a liquid crystal panel above the optical film, wherein the first circuit board is located between the liquid crystal panel and the light emitting surface;
wherein:
a flexible flat cable (FFC) is electrically connected between a second circuit board and the liquid crystal panel, the second circuit board has amounting surface electrical connector is mounted on the mounting surface, and the method further comprises combining and electrically connecting a connection end of the first circuit board and the electrical connector after the liquid crystal panel is placed; and
the first circuit board comprises:
an extension part, having the connection end and disposed on the mounting surface;
a main body, connected to the extension part, wherein the light emitting element is mounted on the main body; and
a handle part connected to the extension part, wherein the extension part is located between the handle part and the mounting surface.
11. The method for assembling a liquid crystal module according to claim 10, wherein the optical film is placed after the light bar is placed inside the housing.
12. The method for assembling a liquid crystal module according to claim 10, wherein the frame wall further has an opening located opposite to the light incident side surface, and a method for placing the light bar inside the housing further comprises:
passing the extension part through the opening such that the extension part is located outside the housing.
13. The method for assembling a liquid crystal module according to claim 10, further comprising placing a reflective sheet on the bearing surface before the light guide plate is placed.