Buy anything from HongKong - Dealextreme

You can buy any kind of electronic gadgets from DealExtreme with free shipping option.
Please visit DealExtreme for very low prices.
Here is the link to the site : www.dealextreme.com

29 August 2007

Persistence Framework for J2ME

Floggy is a free object persistence framework for J2ME/MIDP applications.
http://floggy.sourceforge.net/

import net.sourceforge.floggy.persistence.Persistable;
public class Person implements Persistable {
// Static fields aren't persisted
public static int SOME_STATIC_FIELD = 1;

private String name;
private Date birthday;
private char gender;

// Transient fields aren't persisted
private transient int age;

// Each persistable class must have an empty constructor.
public Person() {
// Do something ...
}

...
}


-------------------------------------------------

Person p = new Person();
p.setName(...);
p.setBirthday(...);
p.setGender(...);
try {
// A new object ID is generated.
// You can use it in future operations.
int id = PersistableManager.getInstance().save(p);
} catch (FloggyException e) {
...
}


------------------------------------------------

Person person = new Person();
try {
// To load an object, use the object ID
// generated previously by a save() operation.
PersistableManager.getInstance().load(person, id);
// Now, edit and save the object.
// The same object ID is returned.
person.setName(...);
id = PersistableManager.getInstance().save(person);
} catch (FloggyException e) {
...
}


--------------------------------------------------

17 August 2007

XGL

With the eventual release of Windows Vista and its rumored new 3D graphical desktop capabilities putting it beyond what is presently available for Macintoshes and GNU/Linux, I was left wondering whether any such thing was planned for Linux and when such capabilities would be released.
After a bit of searching I came across Xgl, it is an X server which is layered on top of OpenGL and because of this, it can accelerate drawing operations on the desktop. Xgl takes advantage of the processing power available in modern graphics cards by using their OpenGL drivers to hardware accelerate X, OpenGL and Xvideo applications. In general terms, think of the processing which is put into rendering frames in 3D games and then using that capability to render the humble desktop. What this means is that you get noticeably fast rendering anti-aliased fonts and can perform intricate graphical calculations far faster than other X servers without OpenGL.

XGL Video :
http://www.youtube.com/watch?v=Cz_2vKq5cZk&search=XGL