Preskočiť na hlavný obsah

Príspevky

mysql 5.0 upgrade to 5.1

The 5.1 series of MySQLwas unmasked for the gentoo portage. When upgrading from an older major version (including 5.0), you will be required to rebuild everything linked to the libmysqlclient.so.15 and libmysqlclient_r.so.15. You can do this by installing app-portage/gentoolkit and running: # revdep-rebuild --library libmysqlclient.so.15 # revdep-rebuild --library libmysqlclient_r.so.15 If you use the Portage 2.2 series, you may also use: # emerge @preserved-rebuild The official upgrade documentation is available here: http://dev.mysql.com/doc/refman/5.1/en/upgrading.html Note that existing databases may need converting as well, again including those upgrading from 5.0 to 5.1.

Project manager vs. Java programmer

9:00 AM Project manager: "Where is Jack?" Java programmer: "Know, he is always lazy loadded." 1:00 PM: Project manager: "Where is Jack??" Java programmer: "Now, he's in passive mode." 5:30 PM: Project manager: "Could I see Jack in rest of my life?" Java programmer: "No, never, he has been garbage collected."

Spring Framework

Spring is a Java/J2EE application framework, based Rod Johnson's code on Expert One-on-One J2EE Design and Development. Spring's functionality can be used in any J2EE container, and most of it also in non-managed environments.

Java Serialization

Have you ever use serialization? Why and when is serialization required? Serialization is the process of storing an object's full state to a sequence of bytes. By deserializing the object you rebuild those bytes into a original object.

Java Reflection

Reflection is a powerful thing to get extended class info at runtime. If you are loaded classes into your application dynamically then Java Reflection is the right thing to get the structure of the classes. Reflection uses java class: Class. The object of the 'Class class' can hold all the information of the class and have getter methods to extract and manipulate this information.