You are hereJava

Java


Java Enterprise Edition 5 Course

Syllabus:

  1. Introduction
  2. JSP
  3. Javaserver Faces
  4. Servlet
  5. Connection to Database (JDBC)
  6. EJB
  7. WEb Services

NetBeans (6.5): Install Module Cluster to Existing NetBeans Installation

Fast track!

  • Download the module cluster from netbeans.org (in zip format)
  • Close netbeans
  • Extract the zip file to the NetBeans installation folder
  • Add [ModuleName][Number] to /etc/netbeans.clusters
  • restart netbeans

"NO JDK - NO JRE":Problem Install NetBeans 6.5

Yesterday is time for me to upgrade my Java programming environment. I upgrade JDK, Eclipse and also NetBeans 6.5.
When installing NetBeans 6.5, the problem occur. I choose NetBeans 6.5 All-in-one 242MB for windows 32. When I run the installer, it show error "Java SE Development Kit(JDK) was not found in this computer. Make sure JDK is properly installed and run the installer."

First, I think it is JAVA_HOME problem. But when I look to my environment variable, it is not. So I reinstalled Java (JDK/JRE). But the problem still exist. I searched Google. There is no answer.

I found OSGi

OSGi: popular current Java movement, but I missed it.

Here some informations:

Recursive function in JSP

This snippet demonstrates how to constructs a function and how to implement factorial function in recursive mode.


<HTML>
  <HEAD>
    <TITLE>Using Recursion</TITLE>
  </HEAD>

Passing Arays to JSP Methods

<HTML>
  <HEAD>
    <TITLE>JSP Passing Arrays to Methods</TITLE>
  </HEAD>

Using Array in JSP


<HTML>

  <HEAD>
    <TITLE>My Array on JSP</TITLE>
  </HEAD>

Java Regular Expression: Split using StringTokenizer

01 // : c12:ReplacingStringTokenizer.java
02 // From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
03 // www.BruceEckel.com. See copyright notice in CopyRight.txt.
04 

Java Regular Expression: Counting Words

Sample program to counting words.

WordCount.java

01 import java.io.FileInputStream;
02 import java.nio.CharBuffer;
03 import java.nio.MappedByteBuffer;



Syndicate

Syndicate content

Navigation

AdSense