Archive for November, 2011
The Myths and Realities of Agile Development
Written by Chad Darby Friday, 25 November 2011
Myth | Reality |
---|---|
Agile development is undisciplined | Agile methods have clear rules to be followed |
Agile development is unplanned | Planning takes place iteratively |
Agile development is unpredictable | Historical data is rapidly assimilated to reduce uncertainty |
Agile development does not scale | Large-scale projects are being delivered right now |
Agile development is just a fad | Most individual practices of Agile have a long history of success |
Posted under Agile, Scrum, Software Project Management | No Comments
Netbeans: Setting up a Web project with SmartGWT
Written by Chad Darby Saturday, 12 November 2011
This document shows you how to set up a Netbeans Web project with SmartGWT.
System Requirements
- GWT 2.2+: http://gwt.google.com
- SmartGWT 2.4+: http://code.google.com/p/smartgwt/
1. Create GWT project using “webappcreator”
Open an MS-DOS window, type:
webappcreator -out c:\dev\testgwt org.demo.TestGwtApp
2. Create a new NetBeans project, using the following steps
- Select File > New Project
- In the Choose Project step, select
- Categories: Java Web
- Projects: Web Application with Existing Sources
- Click Next
- In the Name and Location step,
- Click the Browse… button for the Location. Browse to the directory that was created in Step 1: c:\dev\testgwt
- Click Next
- Click OK to rename the build file to nbbuild.xml
- In the Existing Sources and Libraries step, click Next
- In the second Existing Sources and Libraries step, click Browse for Web Pages Folder
- Select the directory: war
- Click Finish
3. Copy SmartGWT libs
lib/smartgwt.jar lib/smartgwt-skins.jar
Note: these JARs are only needed for compilation. Do not put in WEB-INF/lib.
Update the NetBeans project to include lib/smartgwt.jar
4. Update build.xml to include these paths at compilation time: project.classpath
5. Add Skins to host HTML page
In HTML host page
<script type="text/javascript"> var isomorphicDir="testgwt/sc/"; </script>
6. In host HTML page
Move the loading of module AFTER the isomorphic load. See below
<script type="text/javascript"> var isomorphicDir = "testgwt/sc/"; </script> <script src="testgwt/testgwt.nocache.js" type="text/javascript"></script>
7. Update MyApp.gwt.xml
<inherits name="com.smartgwt.SmartGwtNoTheme" /> <inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlue"/>
Posted under GWT, How-To, NetBeans | 7 Comments
Install GlassFish 3.1 as a Windows Service
Written by Chad Darby Saturday, 12 November 2011
To install GlassFish 3.1 as a Window Service, you can use the create-service command. Follow these steps to setup the service:
Open an MS-DOS window (Run As Administrator)
cd {your_glassfish_home}\glassfish\bin asadmin create-service --name domain1
This will create the service. You can verify this is the Windows Services control panel. By default, the service display name is domain1 GlassFish Server.
If you would like to change the display name of the service, then you can execute the following command. Be sure to put a space between DisplayName=
and "GlassFish 3.1"
sc config domain1 DisplayName= "GlassFish 3.1"
If you no longer need the Windows service, you can delete the service with this command.
sc delete domain1
Also, you should delete all files in cd \glassfish\domains\domain1\bin
Additional documentation on the create-service command is available here.
Posted under Glassfish, How-To | No Comments