Site search:

SQL Server 2005 Training, Day 1, Part I

MS SQL Server, Programming, Windows 1 Comment »

Introduction

I have been trained SQL Server 2005 several months ago but I haven’t time to summarize yet so I’m going to write as much as possible. The training course concerns about using MS SQL Server 2005 with MS Visual Studio Visual Basic.NET so some part may contains source code in VB.NET. Most of contents will express using example and figure if you need reference or more detail of functions, you can try search at MSDN, Microsoft.com. I hope that these may be useful for programmers to review.
The training consumes 5 days so I’ll categorize this by days and also separate each day into 2 parts because it’s quite long. Read the rest of this entry »

Accessing SQL Server on NetBeans using JDBC, Part II: Perform SQL Operations

Java, NetBeans, Programming 48 Comments »

From Part I, I have only established a connection with local SQL Server. Next I’ll show how to retrieve and modify data on remote SQL Server.

Read the rest of this entry »

How to run command-line or execute external application from Java

Java, Programming 81 Comments »

Have you ever confront a situation that you need to execute external programs while developing a Java application? For instance, you are developing a Java application and need to execute external application(another executable program) in the middle of the program or you may need to execute some commands such as listing directory command: dir (in windows) or ls (in Unix) while developing the program.

Read the rest of this entry »

How to compile VTK for Java using Microsoft Visual Studio .NET 2003

Java, Programming 6 Comments »

Introduction
Currently, I’m doing a Java Project that need some 3D image processing so I come across with VTK which is an open source consists of a C++ class library, and several interpreted interface layers including Tcl/Tk, Java, and Python. To use VTK in Java, I need to compile VTK for using with Java. I have found only a few website that related with this topic and hardly to get troubleshoot problems so I decided to write the tutorial.

Read the rest of this entry »

Accessing SQL Server on NetBeans using JDBC, Part I: Create a connection

Java, NetBeans, Programming 141 Comments »

Introduction

This tutorial show you how to use NetBeans to connect SQL Server (2000 and 2005) by using Microsoft SQL Server JDBC Driver.

Read the rest of this entry »

UML Modeling on NetBeans, Part IV: Generate a diagram from existing code

Java, NetBeans, Programming 7 Comments »

Now I will show about how to generate a diagram from an existing code. It also can be called reverse engineering method. This example I will generate a class diagram from my existing source codes.

Read the rest of this entry »

UML Modeling on NetBeans, Part III: Generate code from a diagram

Java, NetBeans, Programming 4 Comments »

In this part, I am going to show how to generate code from existing diagram so that it can reduce a lot of work if you have an well-defined diagram. Also, it can make sure that the coding structure of your project will conform as in a diagram.

Read the rest of this entry »

UML Modeling on NetBeans, Part II: Create a Use Case Diagram

Java, NetBeans, Programming 20 Comments »

A Use Case diagram is useful when you are describing requirements for a system in the analysis, design, implementation and documentation stages.

Read the rest of this entry »

UML Modeling on NetBeans, Part I: Installation

Java, NetBeans, Programming 11 Comments »

Introduction
This article show how to create UML Model on NetBeans and infers that you have already install NetBeans 5.5 (IDE) already. It divided into 4 parts:

Read the rest of this entry »

Split a string

Java, Programming 1 Comment »

Split method in String class will break a string into tokens or array. By specify regular expression as delimiters, as the example below.

Read the rest of this entry »

Exception in thread “main” java.lang.OutOfMemoryError: Java heap space

Java, Programming 10 Comments »

When this exception occurs, it means java runs out of memory.

You can increase memory(heap size) by run java including these parameters:

Read the rest of this entry »

Powered by WordPress | WP Theme & Icons by N.Design Studio

Entries RSS Comments RSS Log in