Posts

Showing posts from March, 2008

Fantastic Features In Net Bean IDE

I downloaded latest Net Bean IDE for my new project in University. There i can create GUI very easily. Yesterday I connect my project folder in to SVN server. Using this latest Net Bean IDE I can very easily connect to SVN server.

Java Bean

JavaBeans are classes written in the Java programming language conforming to a particular convention. They are used to encapsulate many objects into a single object (the bean), so that the bean can be passed around rather than the individual objects.The specification by Sun Microsystems defines them as "reusable software components that can be manipulated visually in a builder tool". Example: // PersonBean.java public class PersonBean implements java.io.Serializable { private String name; private boolean deceased; // No-arg constructor (takes no arguments). public PersonBean() { } // Property "name" (note capitalization) readadble/writable public String getName() { return this.name; } public void setName(String name) { this.name = name; } // Property "deceased" // Different syntax for a boolean field

What Is Hibernate

Hibernate is an object-relational mapping (ORM) library for the Java language, providing a framework for mapping an object-oriented domain model to a traditional relational database. Hibernate solves Object-Relational impedance mismatch problems by replacing direct persistence-related database accesses with high-level object handling functions.Hibernate is free as open source software that is distributed under the GNU Lesser General Public License. Hibernate's primary feature is mapping from Java classes to database tables (and from Java data types to SQL data types). Hibernate also provides data query and retrieval facilities. Hibernate generates the SQL calls and relieves the developer from manual result set handling and object conversion, keeping the application portable to all SQL databases, with database portability delivered at very little performance overhead. LINK: Interview with Gavin King, founder of Hibernate HIBERNATE 

Video Transmit Using JMF

Here is One example for video transmit using JMF: import java.awt.*; import javax.media.*; import javax.media.protocol.*; import javax.media.protocol.DataSource; import javax.media.format.*; import javax.media.control.TrackControl; import javax.media.control.QualityControl; import java.io.*; public class VideoTransmit { private MediaLocator locator; private static MediaLocator ml; private String ipAddress; private String port; private Processor processor = null; private DataSink rtptransmitter = null; private DataSource dataOutput = null; public static CaptureDeviceInfo di = null; public VideoTransmit(MediaLocator locator, String ipAddress, String port) { this.locator = locator; this.ipAddress = ipAddress; this.port = port; } public synchronized String start() { String result; result = createProcessor(); if (result != null) return result; result = createTransmitter(); if (result != null) { processor.close(); processor = null; return resul

What Is NetBeans IDE

History: NetBeans began in 1997 as Xelfi, a student project under the guidance of the Faculty of Mathematics and Physics at Charles University in Prague. A company was later formed around the project and produced commercial versions of the NetBeans IDE until it was bought by Sun Microsystems in 1999. Sun open-sourced the NetBeans IDE in June of the following year. NetBeans 6.0.1 NetBeans 6 version support for developing IDE modules and rich client application. The New GIU Builder, Subversion Support, JBoss support, CVS support and many more features included.