Upgrading the J2EE to J2EE 5
Hey,
I've got the Sun Java Studio Enterprise 8.1 installed and would like to upgrade the J2EE from 1.4 to J2EE 5.
I've downloaded the J2EE sdk 5 and installed it and used the upgrade option within the installer, however I am not able to change the J2EE option within the IDE, only options are 1.3 and 1.4.
So my question is how can I change it to use the newer version?
[396 byte] By [
Mr.JPa] at [2007-11-27 1:02:26]

# 1
- Generally speaking, an externally installed server can be used in JSE using the following method:
1. Add the server to the list of available servers.
Go to the 'Runtime' tab on the navigator window, Right-click on 'Servers' ,
select 'Add Server' and follow the wizard.
2. Once the server is added to the list, right-click on any project,
select properties, go to the 'Run' category panel in the project properties dialog
and set the 'Server' combo-box value to the desired server.
- But the above can be done only for supported versions of the servers. According to the release notes at http://developers.sun.com/jsenterprise/reference/docs/jse8_1/sjse_relnotes81.ht ml#bundled
only the following app/web servers are supported:
App Servers
Sun Java System Application Server 8.2 PE
BEA Weblogic Server 9.0
JBoss Application Server 4.0.3
IBM WebSphere Application Server 6.0.x
Web Servers
Sun Java System Web Server 7.0
Apache Tomcat 5.5.9
Of these tomcat and SJSAS PE are bundled and installed along with the IDE. Rest of the servers need to be downloaded, installed and added to ide's server list.
J2EE SDK 5 servers are not supported by JSE 8.1 and therefore cannot be used with JSE 8.1.
- For working with J2EE 5 SDK, NetBeans 5.5 is a very good choice. (JSE8.1 is based on NetBeans 5.0 and the later versions of NetBeans provide support to latest technologies).
I would suggest that you checkout NetBeans 5.5:
http://www.netbeans.info/downloads/index.php
On the above page, there is also a 'Java EE 5 Tools bundle' that includes the server and the enterprise pack.
Of course you can also install NetBeans 5.5 and add the sdk5 server you had installed to the ide's server list.