| <?xml version="1.0" encoding="UTF-8"?> |
| <?xml-stylesheet type="text/xsl" href="../../../development/news/new_and_noteworthy.xsl"?> |
| <release name="3.1" root="../../.."> |
| <component name="Java EE Tools"> |
| <item title="New Wizard Page for Configuring Java Facet"> |
| <description> |
| A new wizard page has been added for configuring the Java Facet when it is being |
| added to a project (such as during project creation). The new wizard page allows |
| multiple source directories and the output directory to be specified. Users will |
| encounter this page in most of WTP's project creation wizards. The following screen |
| capture shows the new page in the context of the Dynamic Web Project wizard. |
| <br /> |
| <br /> |
| <img src="javaee/java-facet.png" alt="Java Facet Wizard Page" /> |
| </description> |
| </item> |
| <item title="Java EE perspective"> |
| <description> |
| <p>The default layout of the Java EE perspective has been altered: |
| <ul> |
| <li>When <i>Mylyn</i> is installed, its <i>Task List</i> view will now be stacked with the <i>Outline</i> view. </li> |
| <li>The <i>Problems</i> and <i>Tasks</i> views have been replaced with the combined <i>Markers</i> view, which gives a common picture of the information provided by the two old views. </li> |
| </ul></p> |
| <br/> |
| <img src="javaee/javaee_perspective.png" alt="Updated Java EE Perspective" /> |
| </description> |
| </item> |
| <item title="Java EE preferences page"> |
| <description> |
| A new preferences page is introduced - <i>Java EE</i>. |
| This may affect adopters who have already defined a preference page |
| with that name. |
| </description> |
| </item> |
| <item title="No more hidden .JETEmitter project in workspace"> |
| <description> |
| <p>Portions of the Web Tools Platform make use of the EMF Core/JET utility for |
| generating the source code of Java EE artifacts, such as Servlets, EJBs, etc. |
| Until now this has involved the <i>dynamic</i> |
| generation of JET templates with the generated classes being placed in a |
| hidden project under the workspace, .JETEmitter.</p> |
| <p>The existence of the .JETEmitter project has caused issues for |
| users, while in the same time providing no tangible benefit. For these reasons, WTP |
| has now switched to using JET templates that are <i>statically</i> |
| compiled within its plug-ins, avoiding the need for a .JETEmitter project.</p> |
| <p>Should the project still be needed, the old behavior can be restored |
| from the new <i>Java EE</i> preference page.</p> |
| <img src="javaee/javaee_preferences.png" alt="Java EE Preferences Page" /> |
| </description> |
| </item> |
| <item |
| title="Easier creation of new Servlets from existing Servlets and JSP pages"> |
| <description> |
| <p> |
| The |
| <i>Create Servlet</i> |
| wizard is improved to suggest better default values, based on the |
| current selection in the |
| <i>Project Explorer</i> |
| . |
| </p> |
| <p> |
| For example, if you right click on an existing JSP file and call |
| the |
| <i>New > Servlet</i> |
| action... |
| </p> |
| <img src="javaee/ServletFromJspMenu.png" alt="New Servlet from JSP action menu" /> |
| <p> |
| ... then the first page of the |
| <i>Create Servlet</i> |
| wizard suggests to create a new Servlet definition from the |
| selected |
| JSP page. This way users are able to complete to operation |
| with just |
| a single click on the |
| <i>Finish</i> |
| button and avoid configuring these |
| options by themselves. |
| </p> |
| <img src="javaee/ServletFromJsp.png" alt="New Servlet from JSP wizard" /> |
| </description> |
| </item> |
| <item |
| title="Easier creation of new Filters from existing Servlets and JSP pages"> |
| <description> |
| <p> |
| The |
| <i>Create Filter</i> |
| wizard is improved in a similar way. It suggest better default |
| values, based on the current selection. |
| </p> |
| <p> |
| For example, if you right click on an existing Servlet node and |
| call |
| the |
| <i>New > Filter</i> |
| action... |
| </p> |
| <img src="javaee/FilterFromServletMenu.png" alt="New Filter from Servlet action menu" /> |
| <p> |
| ... then the first page of the |
| <i>Create Filter</i> |
| wizard suggests to create a new Filter class that maps to the |
| selected Servlet. This way users are able to complete to operation |
| with just |
| a single click on the |
| <i>Finish</i> |
| button and avoid configuring these |
| options by themselves. |
| </p> |
| <img src="javaee/FilterFromServlet.png" alt="New Filter from Servlet wizard" /> |
| </description> |
| </item> |
| </component> |
| </release> |