Yearly Archives: 2010

Caching in Hibernate


Caching is a Temporary memory or buffer which resides at client side and stores the results sent by server. When client generates same request for multiple number of times, the first request generated results will be stored in cache and

Posted in Hibernate, ORM Tools

Replace String Example in Java


/**  * @author Mallikarjun G  *  */ public class JavaStringReplaceExample {     /**      * @param args      */     public static void main(String args[]) {               String str = “Replace String”;         System.out.println(str.replace(‘R’, ‘A’));//

Tagged with: ,
Posted in JAVA

Connecting SQL Server using Java


package com.javatutorials; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class SqlServerConnection {     public static Connection connection = null;     public static Connection getDbConnection() {         try {             Class.forName(“sun.jdbc.odbc.JdbcOdbcDriver”);             connection = DriverManager    

Tagged with: ,
Posted in JDBC

Create Folder in Java Example


import java.io.File; /**  * @author mallikarjung  *  */ public class FolderCreation {     public static String folderPath = “D:/SampleFolder/”;     /**      * @param args      */     public static void main(String[] args) {         File folder = new

Tagged with:
Posted in JAVA

Difference between Struts and JSF


Struts is an Action framework and JSF is component framework. Action Framework: Struts (both 1 and 2) are action frameworks. In essence they give you the ability to map URLs to activities and code on the back end. Here, the

Tagged with: , ,
Posted in JSF

Advantages of JSF


The major benefits of JavaServer Faces (JSF) technology are: JavaServer Faces architecture makes it easy for the developers to use. In JavaServer Faces technology, user interfaces can be created easily with its built-in UI component library, which handles most of

Posted in JSF

Available implementations and Plugins of JSF?


JSF is the java specification given by the sun microsystems. For this specifications there are multiple;e implementations from the different third party vendors.  The main implementations of JavaServer Faces are: Reference Implementation (RI) by Sun Micro systems. Apache MyFaces is

Posted in JSF

Some Important Sql Queries in Oracle


To know the current user in Oracle select user from dual; Steps to know list of users in the Oracle database. Connec to dba user conn sys/password as sysdba; execute below query to get list of users select * from

Tagged with: , , , , , ,
Posted in Oracle

What is JSF?


JSF stands for Java Server Faces and it is an industry standard and a server side user interface component framework for building component-based user interfaces for web applications. JSF has set of pre-assembled User Interface (UI). It is event-driven programming

Posted in JSF

Difference between Iterator and ListIterator


Iterator: Using Iterator we can iterate only in forward direction and you cannot add elements while iterating and Here cursor always points to specific index. Example:   public class Example { public static void main(String[] args) { ArrayList aList =

Posted in JAVA

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 679 other followers

Calendar
August 2019
M T W T F S S
« Jan    
 1234
567891011
12131415161718
19202122232425
262728293031  
Mallikarjun Gunda

This is Mallikarjun Gunda, I am working as a software professional. Blogging is my Passion. This blog contains the posts on Java related technologies and programming languages. I am happy to share my knowledge through the blogs.

Blog Stats
  • 314,092 hits
IndiBlogger
malliktalksjava.wordpress.c...
70/100