Monday, July 06, 2009
Netbeans & Databases
This document demonstrates how to set up a connection to Sun's Java DB (which is based on the Apache Derby database) in NetBeans IDE. Once a connection is made, you can begin working with the database in the IDE, allowing you to create tables, populate them with data, run SQL queries, and more.
The Java DB database is Sun's supported distribution of Apache Derby. Java DB is a fully transactional, secure, standards-based database server, written entirely in Java, and fully supports SQL, JDBC API, and Java EE technology. The Java DB database is packaged with the Sun Java System Application Server 9.0, Platform Edition, and is now included in JDK 6 as well.
Working with the Java DB (Derby) Database in NetBeans IDE - http://www.netbeans.org/kb/55/derby-demo.html
The Java DB database is Sun's supported distribution of Apache Derby. Java DB is a fully transactional, secure, standards-based database server, written entirely in Java, and fully supports SQL, JDBC API, and Java EE technology. The Java DB database is packaged with the Sun Java System Application Server 9.0, Platform Edition, and is now included in JDK 6 as well.
Working with the Java DB (Derby) Database in NetBeans IDE - http://www.netbeans.org/kb/55/derby-demo.html
Friday, May 15, 2009
JavaTM Architecture for XML Binding Using XJC with Ant (RI 2.0)
https://jaxb.dev.java.net/nonav/2.0.2/docs/xjcTask.html
The jaxb-xjc.jar file contains the XJCTask.class file, which allows the XJC binding compiler to be invoked from the Ant build tool. To use XJCTask, include the following statement in your build.xml file:
This maps XJCTask to an Ant task named xjc. For detailed examples of using this task, refer to any of the build.xml files used by the sample applications.
Older Version (RI 1.0.5) - http://java.sun.com/webservices/docs/1.6/jaxb/ant.html
The jaxb-xjc.jar file contains the XJCTask.class file, which allows the XJC binding compiler to be invoked from the Ant build tool. To use XJCTask, include the following statement in your build.xml file:
This maps XJCTask to an Ant task named xjc. For detailed examples of using this task, refer to any of the build.xml files used by the sample applications.
Older Version (RI 1.0.5) - http://java.sun.com/webservices/docs/1.6/jaxb/ant.html
Monday, May 11, 2009
Converting a Java project to a Dynamic Web project in Eclipse
To convert a Java Project to a Web Project switch to or open the Resource Perspective of the project, in the root of the project. Open the .project file and make sure the builders and natures are present that are needed for a web project.
http://eclipse.dzone.com/tips/converting-java-project-dynami
http://eclipse.dzone.com/tips/converting-java-project-dynami
Java Servlet Filter tutorial example using Eclipse & Tomcat
Servlet Filters are the latest components that are added in Servlet 2.3 specifications. These filters are used basically for intercepting and modifying requests and response from server. ...
http://viralpatel.net/blogs/2009/01/tutorial-java-servlet-filter-example-using-eclipse-apache-tomcat.html
http://viralpatel.net/blogs/2009/01/tutorial-java-servlet-filter-example-using-eclipse-apache-tomcat.html
Tuesday, April 21, 2009
Outlook handles mutliple time zones
How outlook handles multiple time zones - http://support.microsoft.com/kb/195900
Outlook appointments & Time zones - http://www.slipstick.com/calendar/timezone.asp
Microsoft time zone tool - http://www.microsoft.com/downloads/details.aspx?FamilyID=07fb0bd8-f390-458d-a629-6f0258ac7cdf&Displa
How to enable multiple time zone display in outlook - To turn on dual time zone display, go to Tools, Options, Preferences tab, Calendar Options, Time Zone button and add a second time zone. Now when you view the calendar in a day planner format, you'll see two time scales displayed. You can right click on the scale and choose Time zones.. to change zones or swap them.
Outlook appointments & Time zones - http://www.slipstick.com/calendar/timezone.asp
Microsoft time zone tool - http://www.microsoft.com/downloads/details.aspx?FamilyID=07fb0bd8-f390-458d-a629-6f0258ac7cdf&Displa
How to enable multiple time zone display in outlook - To turn on dual time zone display, go to Tools, Options, Preferences tab, Calendar Options, Time Zone button and add a second time zone. Now when you view the calendar in a day planner format, you'll see two time scales displayed. You can right click on the scale and choose Time zones.. to change zones or swap them.
Sunday, April 19, 2009
Eclipse on Solaris
http://eclipse.panton.com.mk/downloads/drops/R-3.2-200606291905/eclipse-SDK-3.2-solaris-gtk-x86.zip
http://www.google.co.in/search?q=eclipse-SDK-3.2-solaris-gtk-x86.zip
http://www.google.co.in/search?q=eclipse-SDK-3.2-solaris-gtk-x86.zip
Thursday, April 16, 2009
Java Application as Windows Service
Apache Daemon - http://commons.apache.org/daemon/
Microsoft - How To Create a User-Defined Service http://support.microsoft.com/kb/137890
Very nice tutorial on using the Apache Daemon
Java as Windows Service with Apache Commons Daemon
Microsoft - How To Create a User-Defined Service http://support.microsoft.com/kb/137890
Very nice tutorial on using the Apache Daemon
Java as Windows Service with Apache Commons Daemon
Tuesday, April 14, 2009
Subscribe to:
Posts (Atom)