NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
taskman
Joined: 20 Aug 2009 Posts: 1
|
Posted: Thu Aug 20, 2009 9:50 pm Post subject: Deploy on Save and other questions |
|
|
Hi
I just started on Netbeans today, been using Eclipse for some time and I have lost too much hair becuase of Eclipse. I also used JBuilder since number 1. Netbeans seems very much like JBuilder
I am using Netbeans 6.7.1 (300MB download) and Glassfish v2
I created a sample project under File | New Project | Samples | Java EE | Servlet Stateless
My questions:
Can "deploy on save" automatically deploy your session beans? I was able to get a servlet to automatically deploy. I have to do a "clean and build" then a deploy for the change to the session bean to register
Glassfish seems to do something when I change the session bean and save it, but the session bean code doesn't actually change when I test
The output from Glassfish
classLoader = WebappClassLoader
delegate: true
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
EJBClassLoader :
urlSet = [URLEntry : file:/C:/Projects/ServletStateless/dist/gfdeploy/ServletStateless-ejb.jar, URLEntry : file:/C:/Projects/ServletStateless/dist/gfdeploy/ServletStateless-ejb_jar/, URLEntry : file:/C:/Projects/ServletStateless/dist/gfdeploy/ServletStateless-war_war/WEB-INF/classes/, URLEntry : file:/C:/Sun/AppServer/domains/domain1/generated/ejb/j2ee-apps/ServletStateless/]
doneCalled = false
Parent -> EJBClassLoader :
urlSet = []
doneCalled = false
Parent -> java.net.URLClassLoader@15f1f9c
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@1e1befb
CORE5022: All ejb(s) of [ServletStateless] were unloaded successfully!
deployed with moduleid = ServletStateless
LDR5010: All ejb(s) of [ServletStateless] loaded successfully!
I also installed Glassfish v3 Prelude. How do I tell the IDE which server to use for the deploy? I added both servers in Services. I stopped Glassfish 2 and started Glassfish 3. The code always tries to deploy to Glassfish 2. I don't see a default server type check box in the servers list
Where do the plug-ins download to when you download through the IDE? I am busy downloading all the plug-ins at home so that I can take it to work. I don't really want to just copy the whole Netbeans directory
How do I register Weblogic 10 in Netbeans? I tried to find a Weblogic plug-in at http://plugins.netbeans.org/PluginPortal/, but the search isn't great and I couldn't find anything. I also looked in Tools | Servers | Add Server. I have Glassfish 1, 2, 3, JBoss, Oracle, Sailfin, Sun Java System Application Server, Tomcat 5, 5.5 and 6.0
When I add a couple of projects to the IDE how do I tell it the order that it should build the projects? Do I even need to care about that if I set the main project? Will it build all the dependant projects? What if I have two projects that don't depend on each other and I want to build both and all their dependencies? JBuilder used to have a "build project group" type thing.
Does the "deploy on save" work for maven projects? Is it better to create projects in Netbeans as J2EE projects or just import that maven projects from the pom file?
When I remote debug I don't have a history of all the servers that I previously did a remote debug to. Is there a way to keep the history? You always have to retype the information in the Attach dialogue.
If you created your projects from Maven and you build it also doesn't seem to keep the different ways that you selected to build
I think that is about it for the first day The most important thing is really the "hot deploy" aka "deploy on save" of session beans |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|