How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
Thread States and Lifecycle in Java - Java tutorial
Want to start the multithreaded programming? Before starting you need to know what is Thread and what is the life cycle of the Thread. Thread having different states and life cycle methods. To know about the thread you can Visit my last post Java Thread Example. Here we will talk about the life-cycle of the Thread. For more visit the link.
More cool Java tutorials:
Basic JFrame with a basic JButton.
Basic JFrame with a basic JButton. This is a basic JFrame with a basic JButton.
Accessing EJBs through firewalls
Ever try to write a J2EE application accessing EJBs across a firewall? It can be messy, and developers often must resort to all kinds of workarounds, none of them particularly "neat." Developers often write a servlet to intercept HTTP requests and delegate them to EJBs, which is kind of a kludge. Another approach that uses tunneling technologies-such as RMI over HTTP-can entail a big performance hit. But there is a better way. You can solve this problem elegantly by using Java Secure Socket Extension (JSSE).
Struts 2 File Upload Example
Learn how to upload a file in Struts 2 with the help of the built-in FileUploadInterceptor. You will also see how to validate a file based on the file size and the content type.
Database Metadata with JDBC
The goal of this tutorial is to show you how to use JDBC's database metadata API, which you can use to get information about tables, views, column names, column types, stored procedures, result sets, and databases. It will be of most interest to those who need to write applications that adapt themselves to the specific capabilities of several database systems or to the content of any database.
Build RESTful services for your Web application
In this series, learn all about WebSphere sMash, a simple environment for creating, assembling, and executing applications based on current Web technologies. Using a step-by-step example, you set up the environment, create a project, build a RESTful service to expose data, test your application, and import a sample application to consume the RESTful services.