April 13, 2012 |
Zeeshan Akhter |
Java Posts, Java Posts, Java Tutorials, Random Posts |
No Comments
Table of Contents
History Of Java
Introduction to Java
About Java
Platform Independence
Java Virtual Machine
Object Oriented Programming
Java Features
Java Applications
Getting Started with Java
Java Architecture
Compiling and Running an Application
Java Development Ki
[ read more ]
TAGS: Hashtable, inheritance, interface, Java, Java Virtual Machine, languages, methods, programming
April 6, 2012 |
Zeeshan Akhter |
Java Posts |
No Comments
JAX-RPC stands for Java API for XML-based RPC. It's an API for building Web services and clients that used remote procedure calls (RPC) and XML. Often used in a distributed client/server model, an RPC mechanism enables clients to execute procedures on other systems.
In JAX-RPC, a remote procedur
[ read more ]
TAGS: beginner java tutorial, free java tutorials, Hypertext Transfer Protocol, Java, Java API for XML-based RPC, java beginner, java development., java online tutorial, java programming, java programming language, java source code, java tutorial, java tutorial video, JAX-RPC, learn java, online java tutorial, programmer, programming, Remote procedure call, SOAP, software, tutorials, Web service, XML
March 27, 2012 |
Zeeshan Akhter |
Java Posts |
No Comments
Spring could potentially be a one-stop shop for all your enterprise applications, however, Spring is modular, allowing you to pick and choose which modules are applicable to you, without having to bring in the rest. Following section gives detail about all the modules available in Spring Framewo
[ read more ]
TAGS: beginner java tutorial, EAR (file format), enterprise-it, free java tutorials, Hibernate, java beginner, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, jdbc, languages, learn java, MVC, online java tutorial, programmer, programming, research, science, software, software-development, Spring Framework, technology, tutorials
March 26, 2012 |
Zeeshan Akhter |
Java Posts |
No Comments
Spring supports remoting for six different RPC models:
1. Remote Method Invocation (RMI)
2. Hessian
3. Burlap
4. HTTP invoker
5. EJB
6. JAX-RPC
In all the models, services are configured into the application through spring configuration file as spring managed beans. This
[ read more ]
TAGS: beginner java tutorial, enterprise java beans, Enterprise JavaBean, enterprise-it, free java tutorials, Hypertext Transfer Protocol, Java API for XML-based RPC, java beginner, java development., java online tutorial, java programming, Java remote method invocation, java source code, java tutorial, java tutorial video, Java version history, learn java, online java tutorial, programmer, programming, remote method invocation, Remote procedure call, Rocky Mountain Institute, Session Beans, software, technology, tutorials
March 19, 2012 |
Zeeshan Akhter |
Java Posts |
No Comments
This example gives you an idea on how to Initialize bean in the program and also explains the lifecycle of bean in spring. Run the given bean example to retrieves the values of the bean using java file. Here in the file given below i.e. (context.xml) we have declare the bean definition.
Mybea
[ read more ]
TAGS: Annotation, Bean, beans spring, beginner java tutorial, Computer file, Data Formats, enterprise-it, free java tutorials, java beginner, Java class file, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, learn java, lt xml, Markup Languages, online java tutorial, programmer, programming, return string, Spring Framework, string format, tutorials, XML
March 19, 2012 |
Zeeshan Akhter |
Java Posts |
No Comments
Calling Bean using init() method in Spring, this section describes the way to initialize a bean through its lifecycle events using the init() method .Here we have defined the property and values of the bean using the init method as shown below:-
<bean id="mybean" class="Bean" init-metho
[ read more ]
TAGS: Bean, beginner java tutorial, Configuration file, Data Formats, enterprise-it, free java tutorials, Init, init method in spring, JAVA **********, java beginner, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, learn java, lifecycle events, lt, Markup Languages, online java tutorial, programmer, programming, software development company, Spring Framework, spring init, spring init method, tutorials, XML, xml configration, xml file
March 19, 2012 |
Zeeshan Akhter |
Java Posts |
No Comments
In the given example you will be learning about a constructor and how to call a constructor in the Spring. Declaring constructor injection in the Spring framework is generally done in the bean section of the configuration file that is the context.xml file.
Steps to declare Constructor Injec
[ read more ]
TAGS: address value, beans spring, beginner java tutorial, encyclopedia name, enterprise-it, free java tutorials, java beginner, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, learn java, lt xml, online java tutorial, programmer, programming, tutorials
March 19, 2012 |
Zeeshan Akhter |
Java Posts |
No Comments
Inheritance Demo, In the example given below we are going to tell about the inheritance in the Spring framework. By inheritance we mean a way of forming new classes using classes that have already been defined. Here we have created a simple bean and used this bean as a template for creating othe
[ read more ]
TAGS: address value, Bean, beans spring, beginner java tutorial, Class (computer programming), classloader, Cooking, enterprise-it, free java tutorials, Fruit and Vegetable, home, java beginner, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, learn java, lt xml, online java tutorial, Parent, programmer, programming, Spring Framework, tutorials, XML
March 17, 2012 |
Zeeshan Akhter |
Java Posts |
No Comments
JDBC Template Batch update example, In the tutorial we have discussed about batchUpdate() method of class JdbcTemplate in Spring framework. The Batch update methods are used to executes multiple SQL updates query on a single JDBC Statement. The example given below consists of the code to del
[ read more ]
TAGS: beginner java tutorial, Data Formats, datasource, Exception handling, free java tutorials, JAVA **********, java beginner, Java Database Connectivity, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, learn java, mysql, online java tutorial, programmer, programming, Spring Framework, SQL, tutorials, XML
March 17, 2012 |
Zeeshan Akhter |
Java Posts |
No Comments
1) Introduction
One of the major features available in the Spring Distribution is the provision for separating the cross-cutting concerns in an Application through the means of Aspect Oriented Programming. Aspect Oriented Programming is sensibly new and it is not a replacement for Object Oriented
[ read more ]
TAGS: AOP, application account, Application programming interface, Aspect-Oriented, Aspect-oriented programming, beginner java tutorial, class structure, code models, Cross-cutting concern, enterprise-it, Exception handling, free java tutorials, getuser, JAVA **********, java beginner, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, learn java, Object-oriented programming, online java tutorial, programmer, programming, programming aspect, sample application, Software Design, software-development, tutorials
March 16, 2012 |
Zeeshan Akhter |
Java Posts |
2 Comments
XML Bean-Injection, The given example below gives the brief description of the extension name spaces that can be used in the spring framework With the use of extensible name space you can make Spring configuration file more simpler to use for many tasks which can occurs repeatedly . Extension
[ read more ]
TAGS: beans spring, beginner java tutorial, enterprise-it, free java tutorials, import org, java beginner, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, learn java, lt xml, online java tutorial, programmer, programming, Spring Framework, tutorials
March 16, 2012 |
Zeeshan Akhter |
Java Posts |
2 Comments
In this section we will learn about Spring cglib library and understand the importance of it. You will also find the url to download cglib library
What is cglib?
The cglib is high performance library in Java. It is used to extend Java classes and implement interfaces in runtime. It is one the be
[ read more ]
TAGS: beginner java tutorial, code generation library, enterprise-it, Exception handling, free java tutorials, Hibernate, JAVA **********, java beginner, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, languages, learn java, Library (computing), online java tutorial, performance library, programmer, programming, quality code, software, Spring Framework, technology, tutorials, XML
March 16, 2012 |
Zeeshan Akhter |
Java Posts |
2 Comments
In earlier version of Spring (Spring version 2.5) the asm library was included. But the current version of Spring 3 does not contains the asm library. So, you have to download and add the asm library to your project.
In this section you will find the instruction to download and add the asm li
[ read more ]
TAGS: beginner java tutorial, free java tutorials, JAVA **********, java beginner, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, learn java, online java tutorial, programmer, tutorials
March 16, 2012 |
Zeeshan Akhter |
Java Posts |
3 Comments
In the last section we developed the .xml file to configure the IOC (Spring Container). In this section we will learn another method for configuring the Spring 3 IOC, which is through the Java configuration annotation @configuration. The @configuration annotation is code centric and can be used
[ read more ]
TAGS: beginner java tutorial, free java tutorials, java beginner, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, learn java, online java tutorial, programmer, tutorials
March 15, 2012 |
Zeeshan Akhter |
Java Posts |
2 Comments
In this section we will download spring, create new project in Eclipse IDE and then write simple Hello World application. We will finally run the application in the Eclipse IDE.
In this section you will learn how to download, create a new project in Eclipse IDE, add Spring 3.0 library files,
[ read more ]
TAGS: beginner java tutorial, eclipse ide, enterprise-it, folder option, free java tutorials, java beginner, java development., java hotspot, java online tutorial, java programming, java source code, java tutorial, java tutorial video, learn java, online java tutorial, open dos, programmer, tutorials, vmware
March 15, 2012 |
Zeeshan Akhter |
Android Tutorials, Aspx.NET Tutorials, Courses, Java Posts, JavaScript Tutorials, Random Posts |
No Comments
Geolocation is a way for the user to retrieve their position and share where they are. This can be done in a few ways, by using a GPS as the one in your new smartphone or connected to your computer is the most precise method. But for users without GPS the browser will use your IP and or try to find
[ read more ]
TAGS: beginner java tutorial, Exception handling, free java tutorials, google, google maps, html, internet explorer, java beginner, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, latitude, learn java, online java tutorial, programmer, tutorials, usage share of web browsers, web browser
March 10, 2012 |
Zeeshan Akhter |
Android Posts, Java Posts |
3 Comments
/*
* BTC.java
*
*/
import com.sun.midp.lcdui.Text;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
/**
*
* @author Zeeshan
* @version
*/
public class BTC extends MIDlet {
Displayable d1;
graphics g;
login l=new login();
newuser n=new newuser();
l
[ read more ]
TAGS: Annotation, at-command, beginner java tutorial, Caught, command exit, enterprise-it, exit command, free java tutorials, Import, Java, java beginner, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, learn java, Message, MIDlet, newuser, null command, online java tutorial, programmer, tutorials, vmware, Web service
March 10, 2012 |
Zeeshan Akhter |
Java Posts |
2 Comments
RMI is just one of the strategies that you can choose from when you want to implement remoting in your Spring application. At the moment, Spring provides support for Hessian, Burlap, RMI, Web services and an own HTTP remoting solution. All of these remoting strategies were designed so they can s
[ read more ]
TAGS: beginner java tutorial, cloud-computing, enterprise-it, free java tutorials, java beginner, java development., java online tutorial, java programming, java rmi, java source code, java tutorial, java tutorial video, learn java, moment spring, online java tutorial, programmer, software, technology, tutorials
March 6, 2012 |
Zeeshan Akhter |
Java Posts, Random Posts |
29 Comments
Cloud computing and grid computing are very similar concepts that can be easily confused. Fortunately, there are a few key differences that set the two apart.
Grid computing is a loose network of computers that can be called into service for a large-scale processing task. This network is over the I
[ read more ]
TAGS: beginner java tutorial, enterprise-it, free java tutorials, grid computing, internet cloud, java beginner, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, learn java, loose network, online java tutorial, programmer, search for extraterrestrial intelligence, tutorials, virtualization
March 3, 2012 |
Zeeshan Akhter |
Android Posts, Android Tutorials |
31 Comments
Android Development Introduction
Android Development Tutorial (Part 1) (Part 2)
Android Filebased Persistence with Preferences, Filesystem and SD Card
Android ListView and ListActivity
Android Intents
Android SQLite Database and ContentProvider
Android Custom Views
Android Liv
[ read more ]
TAGS: Android, Application programming interface, beginner java tutorial, enterprise-it, FAQs Help and Tutorials, free java tutorials, gaming, GlassFish, java beginner, java development., java online tutorial, java programming, java source code, java tutorial, java tutorial video, JSON, languages, learn java, online java tutorial, programmer, programming, Robotium, Secure Digital, software, SQLite, technology, Tutorial, tutorials, virtualization, XML
March 3, 2012 |
Zeeshan Akhter |
Java Posts, Java Tutorials |
21 Comments
Java is an object-oriented programming language developed by James Gosling and colleagues at Sun Microsystems in the early 1990s. Unlike conventional languages which are generally designed either to be compiled to native (machine) code, or to be interpreted from source code at runtime, Java is int
[ read more ]
TAGS: beginner java tutorial, client server model, enterprise-it, free java tutorials, James Gosling, Java, java beginner, java development., java online tutorial, java programming, java programming language, java source code, java tutorial, java tutorial video, Java Virtual Machine, JavaScript, learn java, Object-oriented programming, online java tutorial, programmer, software, Software Development Kit, software-development, Sun Microsystems, technology, tutorials, Write Once Run Anywhere
May 22, 2013 |
Zeeshan Akhter |
Php |
No Comments
We received many tutorial requests from 9lessons readers that asked how to create file upload progress bar with PHP and Jquery. In this post Arun Kumar Sekar had developed few lines of code using PHP APC library, it is very simple getting the server file upload process every few second and increasin
[ read more ]
TAGS: File Upload in Php, File Upload Progress Bar, File Upload Progress Bar with Jquery, languages, Progress bar
May 21, 2013 |
Zeeshan Akhter |
Java Posts, Java Posts, Java Tutorials |
No Comments
If you want to work with Comma-separated Files (CSV) in Java, here’s a quick API for you.
As Java doesn’t support parsing of CSV files natively, we have to rely on third party library. Opencsv is one of the best library available for this purpose. It’s open source and is shipped with Ap
[ read more ]
TAGS: China, Comma-separated values, create csv file in Java, CSV, Java, languages, programming, read csv file in Java, Reading, United States, Write CSV file in Java
May 21, 2013 |
Zeeshan Akhter |
JavaScript Tutorials |
No Comments
This form contains an input text field and an input button. The form is designed to demonstrate how to get and set the text in a text field. The HTML for the input button includes an event handler attribute. Pressing the button calls a function that:
retrieves the value in the text field
d
[ read more ]
TAGS: Data Formats, Event (computing), html, HTML element, JavaScript, Markup Languages, programming, Text box
Table of Contents
History Of Java
Introduction to Java
About Java
Platform Independence
Java Virtual Machine
Object Oriented Programming
Java Features
Java Applications
Getting Started with Java
Java Architecture
Compiling and Running an Application
Java Development Ki
[ read more ]
JAX-RPC stands for Java API for XML-based RPC. It's an API for building Web services and clients that used remote procedure calls (RPC) and XML. Often used in a distributed client/server model, an RPC mechanism enables clients to execute procedures on other systems.
In JAX-RPC, a remote procedur
[ read more ]
Spring could potentially be a one-stop shop for all your enterprise applications, however, Spring is modular, allowing you to pick and choose which modules are applicable to you, without having to bring in the rest. Following section gives detail about all the modules available in Spring Framewo
[ read more ]
Spring supports remoting for six different RPC models:
1. Remote Method Invocation (RMI)
2. Hessian
3. Burlap
4. HTTP invoker
5. EJB
6. JAX-RPC
In all the models, services are configured into the application through spring configuration file as spring managed beans. This
[ read more ]
This example gives you an idea on how to Initialize bean in the program and also explains the lifecycle of bean in spring. Run the given bean example to retrieves the values of the bean using java file. Here in the file given below i.e. (context.xml) we have declare the bean definition.
Mybea
[ read more ]
Calling Bean using init() method in Spring, this section describes the way to initialize a bean through its lifecycle events using the init() method .Here we have defined the property and values of the bean using the init method as shown below:-
<bean id="mybean" class="Bean" init-metho
[ read more ]
In the given example you will be learning about a constructor and how to call a constructor in the Spring. Declaring constructor injection in the Spring framework is generally done in the bean section of the configuration file that is the context.xml file.
Steps to declare Constructor Injec
[ read more ]
Inheritance Demo, In the example given below we are going to tell about the inheritance in the Spring framework. By inheritance we mean a way of forming new classes using classes that have already been defined. Here we have created a simple bean and used this bean as a template for creating othe
[ read more ]
JDBC Template Batch update example, In the tutorial we have discussed about batchUpdate() method of class JdbcTemplate in Spring framework. The Batch update methods are used to executes multiple SQL updates query on a single JDBC Statement. The example given below consists of the code to del
[ read more ]
1) Introduction
One of the major features available in the Spring Distribution is the provision for separating the cross-cutting concerns in an Application through the means of Aspect Oriented Programming. Aspect Oriented Programming is sensibly new and it is not a replacement for Object Oriented
[ read more ]
XML Bean-Injection, The given example below gives the brief description of the extension name spaces that can be used in the spring framework With the use of extensible name space you can make Spring configuration file more simpler to use for many tasks which can occurs repeatedly . Extension
[ read more ]
In this section we will learn about Spring cglib library and understand the importance of it. You will also find the url to download cglib library
What is cglib?
The cglib is high performance library in Java. It is used to extend Java classes and implement interfaces in runtime. It is one the be
[ read more ]
In earlier version of Spring (Spring version 2.5) the asm library was included. But the current version of Spring 3 does not contains the asm library. So, you have to download and add the asm library to your project.
In this section you will find the instruction to download and add the asm li
[ read more ]
In the last section we developed the .xml file to configure the IOC (Spring Container). In this section we will learn another method for configuring the Spring 3 IOC, which is through the Java configuration annotation @configuration. The @configuration annotation is code centric and can be used
[ read more ]
In this section we will download spring, create new project in Eclipse IDE and then write simple Hello World application. We will finally run the application in the Eclipse IDE.
In this section you will learn how to download, create a new project in Eclipse IDE, add Spring 3.0 library files,
[ read more ]
Geolocation is a way for the user to retrieve their position and share where they are. This can be done in a few ways, by using a GPS as the one in your new smartphone or connected to your computer is the most precise method. But for users without GPS the browser will use your IP and or try to find
[ read more ]
/*
* BTC.java
*
*/
import com.sun.midp.lcdui.Text;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
/**
*
* @author Zeeshan
* @version
*/
public class BTC extends MIDlet {
Displayable d1;
graphics g;
login l=new login();
newuser n=new newuser();
l
[ read more ]
RMI is just one of the strategies that you can choose from when you want to implement remoting in your Spring application. At the moment, Spring provides support for Hessian, Burlap, RMI, Web services and an own HTTP remoting solution. All of these remoting strategies were designed so they can s
[ read more ]
Cloud computing and grid computing are very similar concepts that can be easily confused. Fortunately, there are a few key differences that set the two apart.
Grid computing is a loose network of computers that can be called into service for a large-scale processing task. This network is over the I
[ read more ]
Android Development Introduction
Android Development Tutorial (Part 1) (Part 2)
Android Filebased Persistence with Preferences, Filesystem and SD Card
Android ListView and ListActivity
Android Intents
Android SQLite Database and ContentProvider
Android Custom Views
Android Liv
[ read more ]
Java is an object-oriented programming language developed by James Gosling and colleagues at Sun Microsystems in the early 1990s. Unlike conventional languages which are generally designed either to be compiled to native (machine) code, or to be interpreted from source code at runtime, Java is int
[ read more ]
We received many tutorial requests from 9lessons readers that asked how to create file upload progress bar with PHP and Jquery. In this post Arun Kumar Sekar had developed few lines of code using PHP APC library, it is very simple getting the server file upload process every few second and increasin
[ read more ]
If you want to work with Comma-separated Files (CSV) in Java, here’s a quick API for you.
As Java doesn’t support parsing of CSV files natively, we have to rely on third party library. Opencsv is one of the best library available for this purpose. It’s open source and is shipped with Ap
[ read more ]
This form contains an input text field and an input button. The form is designed to demonstrate how to get and set the text in a text field. The HTML for the input button includes an event handler attribute. Pressing the button calls a function that:
retrieves the value in the text field
d
[ read more ]
In today’s tutorial I will show you how to open the wifisettings in android programatically.
This code comes handy when the user have not enabled the wifi and you want the user to enable it for your application to work.
Here is the code for that.
1
2
3
4
5
6
7
8
9
10
1
[ read more ]
Last exercise of "File Explorer" list file/directory without order. We can implement Comparator<? super File> to sort the directory/file in alphabetical order. We can also convert the file name to lower case before comparing, such that the array will be sorted in alphabetical order ignore case
[ read more ]
- First of all, as a user app, I think it should not access the root "/" directly. So I assign root to Environment.getExternalStorageDirectory(), it's the Android external storage directory.
- Secondly, if a file/directory is hidden or un-readable, it will not be display.
Create /res/layout/row.
[ read more ]