Notes by meiu
Displaying notes 1 - 10
Created by meiu on February 09, 2012 09:55:26
Last update: February 09, 2012 09:55:26
In the package explorer pane:
Right click on the folder
Move mouse to Build Path
Select Use as Source Folder
To revert a source folder selection: mouse over Build Path and select Remove from Build Path .
Created by meiu on October 14, 2011 14:21:39
Last update: October 14, 2011 14:22:24
This works for Eclipse Indigo.
From the Help menu, select Install New Software...
Select --All Available Sites-- for the Work with dropdown
Enter maven in filter text
Check m2e and install:
Created by meiu on July 21, 2011 09:34:10
Last update: July 21, 2011 11:00:42
Click Project -> Properties
Select "Builders"
Click "New", select "Ant Builder", click "OK"
Select the Buildfile, set the Base Directory
Set targets
You may or may not want the default "Java Builder". Uncheck it if you don't
want to run the default builder.
Created by meiu on July 21, 2011 09:05:31
Last update: July 21, 2011 09:05:31
To configure:
Click Run -> External Tools -> External Tools Configurations...
Select "Ant Build", click the "New" icon on the top left
Enter a name (e.g. "Ant Build"), select a Buildfile ( build.xml ), set
the Base Directory.
Click "Apply".
To run:
Click Run -> External Tools -> Ant Build (the name entered in Step 2 above)
Created by meiu on March 31, 2011 20:05:53
Last update: March 31, 2011 20:05:53
The Java exclusive or operator is ^ . This example uses it to reverse an integer array:
public class ExclusiveOrExample {
public st...
Created by meiu on March 31, 2011 19:54:05
Last update: March 31, 2011 19:54:05
With StringBuffer/StringBuilder:
public class ReverseString {
private static...
Without StringBuffer/StringBuilder:
public class ReverseString {
private static...
Created by meiu on February 09, 2010 03:26:14
Last update: March 31, 2011 09:00:19
Simple JDBC code for Oracle.
import java.sql.*;
public class JDBCHelloWo...
Created by meiu on February 28, 2011 16:01:10
Last update: February 28, 2011 16:01:10
Change port 1098 to 1096 in jboss-5.1.0.GA\server\all\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml .
<bean class="org.jboss.services.binding.ServiceBin...
Created by meiu on July 22, 2010 22:40:23
Last update: July 22, 2010 22:41:04
Base64 encoding replaces every 3-byte (24bit) sequence with a 4-byte sequence with 6 effective bits in each byte - therefore eliminating un-printable characters. The expansion ratio is 4:3.
Created by meiu on July 22, 2010 20:16:59
Last update: July 22, 2010 20:17:28
By this thread on OTN, JRockit mission control and JRockit real time are exactly the same!
JRockit Mission Control x JRockit Real Time
But Oracle is offering downloads with two separate links with no explanation what so ever?!