jayasanka.blogspot.com
Learn iT!: June 2008
http://jayasanka.blogspot.com/2008_06_01_archive.html
Monday, June 30, 2008. How to Schedule a Task -. In some application some tasks need to be run periodically for example GUI screen should update the data from server periodically. This java tips illustrate a method of scheduling a task periodically. Developers may use it for repetitive invoking of a method as per their requirements. For this aim, first you have to make a class extending TimerTask abstract class and write code in run method, you want to run repetitively. Import java.util.TimerTask;. URI u...
jayasanka.blogspot.com
Learn iT!: February 2009
http://jayasanka.blogspot.com/2009_02_01_archive.html
Monday, February 23, 2009. Start Telnet feature in Vista -. Open the Start Bar and search Telnet. If it does not show anything in Programs do the following. Click on Programs and Features. Under that click "Turn Windows features on or off" (left side of the window). Click Continue on the Pop-Up. A Dialog box will show up and it might take a while to populate the list. Go down in Dialog box and look under Tablet PC Optional Components. It will say Telnet Client. Check the telnet in command prompt.
jayasanka.blogspot.com
Learn iT!: March 2008
http://jayasanka.blogspot.com/2008_03_01_archive.html
Thursday, March 13, 2008. How to Connect DataBase to Java Application -JDBC. Import java.sql.Connection;. Import java.sql.DriverManager;. Import java.sql.ResultSet;. Import java.sql.SQLException;. Import java.sql.Statement;. Public class db {. Public static void main(String[] args){. ClassforName("sun.jdbc.odbc.JdbcOdbcDriver");. Connection conn = DriverManager.getConnection("jdbc:odbc: mydb. Statement stmt = conn.createStatement();. ResultSet results = stmt.executeQuery("SELECT * FROM student.
jayasanka.blogspot.com
Learn iT!: August 2012
http://jayasanka.blogspot.com/2012_08_01_archive.html
Thursday, August 30, 2012. Search only Folders in Windows 7. To restrict by file type Use Example. Folders folders kind:folders Folder name foldername foldername:mydocs. Dir java /ad /s /b. Subscribe to: Posts (Atom). View my complete profile. Search only Folders in Windows 7. Awesome Inc. template. Powered by Blogger.
jayasanka.blogspot.com
Learn iT!: October 2008
http://jayasanka.blogspot.com/2008_10_01_archive.html
Tuesday, October 14, 2008. What is ICEfaces -. CEfaces is a framework, which can be used to create high user interactive web pages. In another words this technology enables to develop and deploy thin-client, REA - Rich Enterprise Application in pure Java. Pure Java means. NO JavaScript. Therefore do not need any kind of knowledge about JavaScript. So JEE application development skills can directly apply to these technology. Subscribe to: Posts (Atom). View my complete profile. What is ICEfaces -.
jayasanka.blogspot.com
Learn iT!: January 2008
http://jayasanka.blogspot.com/2008_01_01_archive.html
Friday, January 18, 2008. Enable Sinhala in ur computer. Get and install sinhala pack form fonts.lk. You can download it by click in here. Use instruction come with setup. This is based on Wijayasekara Unicode). Subscribe to: Posts (Atom). View my complete profile. Enable Sinhala in ur computer. Awesome Inc. template. Powered by Blogger.
jayasanka.blogspot.com
Learn iT!: July 2008
http://jayasanka.blogspot.com/2008_07_01_archive.html
Friday, July 11, 2008. Read a Property File -. ERAproperties - - - - - - - - - -. Java file- - - - - - - - - -. NOTE: if you are using web-base project, put these property files in to /WEB-INF/classes/ folder and replace property.load(.) statement with following. Properties.load(Thread.currentThread().getContextClassLoader() .getResourceAsStream("ERA.properties") ;. Thursday, July 3, 2008. Spring is an open-source framework, created by Rod Johnson and described in his book. From a single source file.
jayasanka.blogspot.com
Learn iT!: Message driven beans(MDB) and transaction attributes
http://jayasanka.blogspot.com/2012/03/message-driven-beansmdb-and-transaction.html
Thursday, March 15, 2012. Message driven beans(MDB) and transaction attributes. Message-driven beans may declare only the NOT SUPPORTED or REQUIRED transaction attribute. The other transaction attributes don't make sense in message-driven beans because they apply to client-initiated transactions.". MDB are called asynchronously. Therefore NEVER, SUPPORTS, REQUIRES NEW transaction attributes are not make sense, because there isn't pre-existing transaction context for MDB. REQUIRED Vs. REQUIRES NEW.
jayasanka.blogspot.com
Learn iT!: What is serialVersionUID?
http://jayasanka.blogspot.com/2011/04/what-is-serialversionuid.html
Friday, April 29, 2011. If a class implements Serializable. Interface, your IDE worn you to add. Or it add automatically. This variable holds a private static final long. And IDE automatically declared it to 1L. Class SerializeMe implements Serializable {. Private static final long serialVersionUID = 1L;. Private String data;. Public SerializeMe (String data) {. Thisdata = data;. Public String getData() {. Represents some information stored in the class. Note that. Public class SerialVersionUIDTester {.
jayasanka.blogspot.com
Learn iT!: April 2011
http://jayasanka.blogspot.com/2011_04_01_archive.html
Friday, April 29, 2011. If a class implements Serializable. Interface, your IDE worn you to add. Or it add automatically. This variable holds a private static final long. And IDE automatically declared it to 1L. Class SerializeMe implements Serializable {. Private static final long serialVersionUID = 1L;. Private String data;. Public SerializeMe (String data) {. Thisdata = data;. Public String getData() {. Represents some information stored in the class. Note that. Public class SerialVersionUIDTester {.