Netbeans: Setting up a Web project with SmartGWT

This document shows you how to set up a Netbeans Web project with SmartGWT. System Requirements GWT 2.2+: SmartGWT 2.4+: 1. Create GWT project using "webappcreator" Open an MS-DOS window, type: [code] webappcreator -out c:\dev\testgwt org.demo.TestGwtApp [/code] 2. Create a new NetBeans project, using the following steps Select File > New Project In the Choose Project step, select [...]

By |2011-11-12T20:33:29-05:00November 12, 2011|GWT, How-To, NetBeans|7 Comments

Install GlassFish 3.1 as a Windows Service

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) [java] cd {your_glassfish_home}\glassfish\bin asadmin create-service --name domain1 [/java] This will create the service. You can verify this is the Windows Services control panel. By default, the service display name is domain1 GlassFish [...]

By |2011-11-12T14:04:54-05:00November 12, 2011|Glassfish, How-To|Comments Off on Install GlassFish 3.1 as a Windows Service

Calling Stored Procedures with Spring JDBC Templates

In this article, you learn how to call stored procedures using the Spring JDBC Templates API. Stored procedures are commonly used to encapsulate complex SQL queries. Application developers can leverage the functionality of stored procedures with the Spring JDBC Templates API. In this example, we have a stored procedure named: getCars. This stored procedure will search for cars based on [...]

By |2011-11-10T13:49:27-05:00November 10, 2011|How-To, Java, JDBC, Spring|27 Comments

Reading MS Excel files (.xslx) in Java

Last weekend, I was working on one of my personal projects. I needed to read a MS Excel spreadsheet. I know that the folks at Apache have a nice API for reading and writing MS Excels files, so I thought I'd download the latest version and give it a try. The Apache project is named "Apache POI". You can download [...]

By |2011-11-09T17:14:53-05:00November 9, 2011|How-To, Java|12 Comments
Go to Top