This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I want to know how to start the weblogic server in development mode. By default in my system the weblogic 7.0 server is starting in running mode. how to change the mode. In tomcat the webapps is the default folder for placing web applications. In weblogic what is the default folder for placing the web applcations.
When you configure a new user domains (using the configuration wizard) you get to choose a domain startup mode (and an appropriate VM). This would be the most convenient time to pick and choose.
For existing domains you can change the startup mode by editing the domains startup scripts located in the "bin" directory, relative to the domain's home directory (%BEA_HOME%/user_projects/domains/-SomeDomain-). The "bin" directory should contain a number of scripts. You're looking for the setDomainEnv (.cmd extension on Windows, .sh on *nix) script file. This file should contain an variable called "PRODUCTION_MODE", either clear its value or explicitly set it to "false" to enable development mode for the domain. Also consider changing the JVM settings when you switch server modes. BEA recommends using the bundled Sun JVM for development purposes and their own JRockit JVM when switching to production mode.
You can deploy your application in one of several ways, via a web-interface (not convenient), by copying your application (packaged or exploded) to the "autodeploy" directory relative to the domain home directory on which you wish to deploy (slighty more convenient), or by setting up an ANT script that uses the wldeploy task (most convenient).
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.