Creating JavaBeans or POJOs with IRAD for WebSphere

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
3,218
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 4, 2008

Creating Serializable JavaBeans

This free, multimedia tutorial shows you how to use IBM's Rational Application Developer (IRAD) 6.0 to create a simple, yet somewhat salacious, JavaBean.

If you found something helpful here, please do your part and help support the site. Link to us, buy some books, support our sponsors, tell your developer friends about us, and remember: Happy Java!

package com.examscam.common;

public class Timer implements java.io.Serializable {

private long startTime;

public Timer(){}
public void start() {
startTime = System.currentTimeMillis();
}
public long getStartTime() {
return startTime;
}
public long getElapsedTime() {
return System.currentTimeMillis() - startTime;
}
public void reset() {
startTime = System.currentTimeMillis();
}
}

  • likes, 2 dislikes

Link to this comment:

Share to:

Top Comments

  • yeah the typing machine sounds is pretty annoying... i hated it :x

  • Nice tutorial but the typing voice is pretty annoying.

see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • the typing machine is very distracting ......... cant hear nothing ............and also i don't understand the implements stuff...

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more