Displaying the EJB designer c Click (Free web space) OK. The
Displaying the EJB designer c Click OK. The EJB designer appears. For example, if you are starting a project named EJB2_Project and you specified MyEJBModule as the name of the EJB module, the EJB designer, the project pane, and the structure pane would look like this: Any time another view, such as the EJB DD editor, is present, you can switch to the EJB designer view by using one of these two methods: Double-click the EJB module s node in the project pane and click the EJB Designer tab in the content pane. Click the EJB module s tab at the top of the content pane. This option is available only if the module is open in the current project. Quickening the display of your EJBs If you have many EJBs in the EJB designer, you might want to collapse the bean representations so that you can see only the names, making it easier to locate the bean you want and quickening the display of the beans. Choose Tools|Preferences| EJB Designer and check the Only Expand Selected EJBs option. The EJB designer displays the beans with their names only. To see the fields, methods, and so on of the bean, you then click it to select it in the EJB designer. To see the all of the beans in their entirety again, uncheck the Only Expand Selected EJBs option. When you do, the Lazily Load EJBs option is enabled. If you do select the Only Expand Selected EJBs option, you can then choose to have the EJB designer load your beans into memory only as they are selected and expanded. Check the Lazily Load EJBs option, which can speed up the EJB designer s initial display. Preventing the saving of EJB designer layout changes If, as you work with the EJB designer, you find you are inadvertently moving beans around when you don t intend to, you can prevent JBuilder from saving the layout changes you make in the EJB designer. Choose Tools|Preferences|EJB Designer and uncheck the Dirty Module On Layout Changes option, which is on by default. When this option is on, all changes to the layout of the beans in the EJB designer are automatically saved. When this option is off, layout changes are stored only if you make changes in your code. Caution If you uncheck the Dirty Module On Layout Changes option, none of your layout changes are saved. Chapter 4: Working with the EJB designer 23
The UK economy was the first in the world to enter the Industrial Revolution, and initially concentrated on heavy industry such as shipbuilding, coal mining, steel production and textiles.All our UK Web Hosting plans are very cheap and they fully support PHP mysql Dreamweaver frontpage and much more.