Saturday, August 07, 2010

Few Java Lingo

  1. JBOSS
  2. struts
  3. EJB
  4. JMS
  5. JSP
  6. jUnit

Saturday, July 31, 2010

Stanford CS106A resources II

Course Home Page: http://see.stanford.edu/see/courseinfo.aspx?coll=824a47e1-135f-4508-a5aa-866adcae1111


First Lecture YouTube URL: http://www.youtube.com/watch?v=KkMDCCdjyW8
Karel on Linux : http://www.youtube.com/watch?v=jWMW2ZfYPo4 has one special tip @ 1:37 (helped me solve my NullPointerException)

Stanford CS106A resources I

1) Text Book "The Art and Science of Java"
"http://people.reed.edu/~jerry/121/materials/artsciencejava.pdf"

2) The book available in multiple format from the Author's site (Animated Slide & Code)
http://www-cs-faculty.stanford.edu/~eroberts/books/ArtAndScienceOfJava/

3) "Karel the Robot Learns Java" online version of one of the 'book' tutorial as recommended in the class.

http://lia.deis.unibo.it/Courses/FondA0809-AUT/materiale/karellearnsjava.pdf

The relevant part that might be required even after knowing Java.

Karel Reference Card
This appendix defines the structure of the Karel programming language on a single page.
Built-in Karel commands:
move();
turnLeft();
putBeeper();
pickBeeper();
Karel program structure:
/*
* Comments may be included anywhere in
* the program between a slash-star and
* the corresponding star-slash characters.
*/
import stanford.karel.*;
/* Definition of the new class */
public class name extends Karel {
public void run() {
statements in the body of the method
}
definitions of private methods
}
Karel condition names:
frontIsClear() frontIsBlocked()
leftIsClear() leftIsBlocked()
rightIsClear() rightIsBlocked()
beepersPresent() noBeepersPresent()
beepersInBag() noBeepersInBag()
facingNorth() notFacingNorth()
facingEast() notFacingEast()
facingSouth() notFacingSouth()
facingWest() notFacingWest()
Conditional statements:
if (condition) {
statements executed if condition is true
}
if (condition) {
statements executed if condition is true
} else {
statements executed if condition is false
}
Iterative statements:
for (int i = 0; i <>statements to be repeated
}
while (condition) {
statements to be repeated
}
Method definition:
private void name () {
statements in the method body
}
New commands in the SuperKarel class:
turnRight();
turnAround();
paintCorner(color);
New conditions in the SuperKarel class:
random()
random(p)
cornerColorIs(color)

Karel Colors
BLACK
BLUE
CYAN
DARK_GRAY
GRAY
GREEN
LIGHT_GRAY
MAGENTA
ORANGE
PINK
RED
WHITE
YELLOW
null

Thursday, July 08, 2010

more Java Docs

http://java.sun.com/reference/index.jsp

http://java.sun.com/developer/onlineTraining/index.jsp

http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/index.html

Friday, December 05, 2008

Java passion

Java Tutorial is Java Tutorial. This site has gone paid only content in early 2010.

Saturday, November 25, 2006

Google J2ME programs

Google Earth
gmail
Google Mobile - Beta - perhaps uses SMS to deliver your search results

J2ME tools

Apache Ant
Antenna - Ant's extension to support J2ME
WTK - Witeless toolkit by Sun
J2EE

Java Open Source

Sun announced in Nov 2006, that many parts of Java would be made as open source - GPL. This way, Sun's implementation of Java can be part of many Linux (and perhaps other commercial, non-commercial distributions of operating systems and application packaging). Currently, Linux live CD distributors prefer other Java implementation over Sun's implementation due to licensing concerns. Now that Sun's Java implementation is Open Source, the implementation is likely to be cleaned up by open source community and also would be used by more due to wider distribution channels. Not too sure what's the business motive for Sun - though Sun can pick up more mind share and also be good citizenship.

Tuesday, March 28, 2006

Eclipse - Java IDE

Eclipse is open source that provides Java IDE

Friday, November 26, 2004

Karal Robot

Karal J. Robot

Learn Java

Java Learning Kit
Java 2 SDK
JCreator