<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2759170688190572785</id><updated>2011-11-27T16:17:37.555-08:00</updated><category term='Tuning Garbage collection with the 1.4.2 Hotspot JVM'/><category term='Trigger in Oracle PL/SQL'/><category term='Oralce Tips'/><category term='Customer Information Control System'/><category term='ava heap space Error in JVM'/><category term='Arabic PDF Reports'/><category term='Windows XP'/><category term='Visual Studio'/><category term='JPA'/><category term='Segmentation fault'/><category term='IBM&apos;s Transaction Server'/><category term='Ibm mainframe interview questions'/><category term='Creating JAR in Eclipse'/><category term='calloc'/><category term='Installing SQL Server 2005'/><category term='TO_CHAR'/><category term='COBOL Manuals'/><category term='interfaces'/><category term='Oracle PL/SQL'/><category term='Execute Immediate'/><category term='Java tools'/><category term='Apple'/><category term='WHERE CURRENT OF'/><category term='Java Polymorphism'/><category term='JTS'/><category term='Oracle ROWNUM'/><category term='Oralce ROWNUM'/><category term='ASP.NET'/><category term='XMLELEMENT'/><category term='DB2 Administration Interview Questions'/><category term='WebLogic Server'/><category term='Microsoft .NET Framework'/><category term='JRuby'/><category term='Sun Oracle'/><category term='Oracle SQL SELECT'/><category term='Linux Oracle'/><category term='RedHat Linux'/><category term='IBM Certification'/><category term='millisecond-resolution on windows'/><category term='Samba Network'/><category term='NavigableSet'/><category term='JSP Life Cycle'/><category term='importing file from IBM Mainframes'/><category term='Java source code'/><category term='Java XML'/><category term='Java EE 6'/><category term='Java Collections Interview Questions'/><category term='COBOL Error Codes'/><category term='JavaScript Tutorial'/><category term='Crystal Reports XI'/><category term='Apache'/><category term='JDBC Interview Questions'/><category term='JVM Heap Size'/><category term='IBM 000-001 certification'/><category term='Inheritance in Java'/><category term='java.net.connectexception'/><category term='COBOL Interview Questions'/><category term='jntu Btech results 2010'/><category term='java programing'/><category term='Remote Debugging JVM Applications'/><category term='Struts'/><category term='Deque'/><category term='Groovy 2.0.0'/><category term='Oracle Union'/><category term='VNC Server in Linux'/><category term='Java math functions'/><category term='set java heap size in Eclipse'/><category term='Oracle LEVEL Command'/><category term='%ROWTYPE'/><category term='CICS Transactions'/><category term='Javascript'/><category term='JAXP'/><category term='SAP Crystal Reports'/><category term='Oracle 10g AWR'/><category term='ROWID'/><category term='Oracle Process'/><category term='ORA-16006'/><category term='JDBC-ODBC'/><category term='Groovy'/><category term='CURRVAL'/><category term='life cycle of a servlet'/><category term='Weblogic Exceptions'/><category term='SAP XI Certification Questions'/><category term='JVM Crash'/><category term='SQL ROLLUP'/><category term='Oracle ASCII Function'/><category term='JDBC Tutorial'/><category term='J2EE project'/><category term='ClassNotFoundExceptions'/><category term='Trigger example'/><category term='java.rmi.RemoteException'/><category term='Dataset'/><category term='Datasource'/><category term='used memory'/><category term='system event triggers'/><category term='Microsoft Office Beta 2010'/><category term='Downloading JQuery'/><category term='XML Java'/><category term='JDBC drivers on Windows'/><category term='Samba in Linux'/><category term='Mainframe Tutorials'/><category term='Views in Oracle'/><category term='Apache Tomcat Performance Tuning'/><category term='Core Java Interview Questions'/><category term='PermGen space'/><category term='Java/J2EE'/><category term='Sybase on Linux'/><category term='ruby'/><category term='OutOfMemoryError'/><category term='Installing Jquery'/><category term='JCL for Unzipping the File'/><category term='Remote Debugging Tomcat'/><category term='WebSphere Application Server V6'/><category term='Oracle Java'/><category term='Microsoft'/><category term='Enumeration'/><category term='ETL'/><category term='Cisco Certification 642-062 test'/><category term='Jquery Server'/><category term='Jquery Image Rotator'/><category term='Arrays'/><category term='Microsoft VB.net'/><category term='XML Publisher product'/><category term='Microsoft windows'/><category term='JSP Servlets'/><category term='Java Interface Definition'/><category term='Java Examples'/><category term='JVM Memory'/><category term='Autotrace in Oracle'/><category term='Oracle Database Links'/><category term='JVM Error'/><category term='Adobe Flex 4'/><category term='VB.NET GUI'/><category term='Technology Facts'/><category term='Cisco Certification'/><category term='Data Export using oracle'/><category term='Java Virtual Machine'/><category term='JAAP'/><category term='Unix errors'/><category term='XML and Java Parsing'/><category term='NEXTVAL'/><category term='DB2 Tutorials'/><category term='Jquery'/><category term='My SQL Server'/><category term='Java Tips and Tricks'/><category term='Tomcat Performance'/><category term='Oracle Apps'/><category term='Disabling Triggers'/><category term='XML with Java'/><category term='Servlet'/><category term='SAX Parser'/><category term='Inheritance'/><category term='Oracle Gather Stats'/><category term='Nested tables'/><category term='Oracle PL/SQL Developer'/><category term='Java Applet'/><category term='IBM As400'/><category term='mainframe computer'/><category term='Perl DBD'/><category term='Apache Server'/><category term='javax.ejb.EJBException'/><category term='Informatica'/><category term='PL/SQL Triggers in Oracle'/><category term='JDBC Bridge'/><category term='Oracle PL/SQL Tutorial.Oracle PL/SQL'/><category term='DB2 for z/OS'/><category term='Sybase'/><category term='Oracle XMLELEMENT'/><category term='Oracle/PLSQL Tutorial'/><category term='Oracle&apos;s data dictionary'/><category term='Microsoft Surface'/><category term='IBM Mainframes Computer'/><category term='Tomcat JVM configuration'/><category term='DBMS_UTILITY'/><category term='WHERE CLAUSE'/><category term='PHP'/><category term='malloc'/><category term='MySQL database with Java'/><category term='Java BDK'/><category term='Roseindia'/><category term='Oracle RAC installation'/><category term='Oracle Pseudocolumns CURRVAL'/><category term='Oracle Real Application Clusters 11g'/><category term='Java memory'/><category term='Struts Interview Questions'/><category term='weblogic.rjvm.PeerGoneException'/><category term='CEBR'/><category term='Oracle PL/SQL DateTimestamp Functions'/><category term='HTML Basics'/><category term='Pointers in C'/><category term='Eclipse IDE'/><category term='Java web developer'/><category term='Method Overloading in Java'/><category term='IBM CICS Frequently Asked Interview Questions'/><category term='Applet'/><category term='JDBC-ODBC Bridge driver'/><category term='Stored Procedure in PL/SQL'/><category term='javascript textbox validation'/><category term='Oracle Date Functions'/><category term='Objects and Classes in Java'/><category term='Mainframes'/><category term='JavaXML'/><category term='WebSphere Application Server V6.1'/><category term='SCJP Certifications'/><category term='IBM websphere'/><category term='Servlet Interview Questions'/><category term='VSAM Tutorials'/><category term='Palm'/><category term='DB2 Packages'/><category term='AWR Report in Oracle'/><category term='TO_DATE'/><category term='IBM Tutorials'/><category term='IBM mainframes COBOL qsam/vsam FILE STATUS CODES'/><category term='Jquery Plugin'/><category term='Microsoft  .NET  Installation'/><category term='Java JVM GC'/><category term='SCJP Exams'/><category term='Samba Configuration'/><category term='Oracle Unix'/><category term='IBM DB2'/><category term='SQL Server Express'/><category term='JVM Architecture'/><category term='Mainframes Interview Questions'/><category term='JDBC in Java'/><category term='Java Programming'/><category term='IBM- DB2'/><category term='Java applets'/><category term='sun'/><category term='grep through sub-directories'/><category term='Installing Oracle 10g on SUSE Linux'/><category term='Simple Asynchronous methods in EJB 3.1'/><category term='HTML5 Canvas'/><category term='JavaScript Form Validation'/><category term='Oracle SQLCODE Function'/><category term='DOM Parser'/><category term='Android Mobile'/><category term='connect sql server 2005'/><category term='ORACLE_HOME Path'/><category term='Dataware Housing'/><category term='JVMDI interface'/><category term='Automatic Workload Repository Report'/><category term='Tomcat&apos;s servlet'/><category term='IBM AIX 5.3 Unix'/><category term='SAP Business Object'/><category term='Exhausted Resultset'/><category term='Oracle With Unix'/><category term='DataSource embedded in java application'/><category term='Jakarta'/><category term='Oracle Data Base Using Servlet'/><category term='Sun Microsystems'/><category term='ORA-00060'/><category term='XML'/><category term='PermGen space error.'/><category term='IBM Mainframes Interiew Questions'/><category term='ParserConfigurationException'/><category term='Statistics in Oracle'/><category term='Oracle 11g'/><category term='Developer'/><category term='ORA-00020'/><category term='CICS Tutorial'/><category term='Cisco IOS Multicast Virtual Private Network (MVPN)'/><category term='Summary Field in Crystal Reports'/><category term='Java Free pdf online'/><category term='JDBC Driver Models'/><category term='interpreter'/><category term='Oracle Commands for DBA'/><category term='Java Sun Developer'/><category term='Java Virtual Machine Debug Interface (JVMDI)'/><category term='ETL Open Source'/><category term='Parsing XML file in Java'/><category term='COBOL'/><category term='HP Tools'/><category term='user events trigger'/><category term='Oracle SQL Queries'/><category term='DB2'/><category term='java heap size'/><category term='before trigger'/><category term='Java Garbage Collection Interview Questions'/><category term='Cookies'/><category term='JVM Memory Error'/><category term='Visual Studio 2010 Express'/><category term='Oracle Reports 11g'/><category term='Java Bigdecimal'/><category term='PL/SQL Function'/><category term='JSP Interview Questions'/><category term='Oracle Exceptions'/><category term='Oracle Database 10g'/><category term='JAVA Interview Questions'/><category term='Online resources for Cloud Computing'/><category term='Windows Mobile'/><category term='Glassfish Connection Pool setup'/><category term='Twitter'/><category term='Adobe Flex'/><category term='J2EE modules'/><category term='set java heap size in NetBeans'/><category term='CEDF'/><category term='ListIterator'/><category term='Java Bean'/><category term='JVM Settings'/><category term='Java Architecture'/><category term='Running Total Field in Crystal Reports'/><category term='Oracle 10g'/><category term='LOBs (Large OBjects)'/><category term='HashMap'/><category term='ant property string value'/><category term='Java development'/><category term='java j2ee interview questions'/><category term='Binary Large Object(BLOB)'/><category term='Oracle Union all'/><category term='How to Create Login Page with ASP'/><category term='DB2 Certification'/><category term='HTML 5'/><category term='Life-cycle mehtods in JSP'/><category term='HP Extreme'/><category term='CSS3 Techniques'/><category term='Flash Player'/><category term='Mainframe Testing'/><category term='Data Integration'/><category term='TCS'/><category term='after trigger'/><category term='DBMS_STATS'/><category term='Application'/><category term='Memory Options'/><category term='Java Debug Wire Protocol (JDWP)'/><category term='Job Control Language'/><category term='Unix Tutorials'/><category term='COBOL Mainframe Interview Questions'/><category term='mail in UNIX'/><category term='UNZIP in Mainframes'/><category term='JVM exits unexpectedly'/><category term='Oracle DBA'/><category term='DB2 forLinux'/><category term='JVM'/><category term='Tomcat Connector Implementations'/><category term='UNIX interview questions'/><category term='Closure'/><category term='Java Developer'/><category term='Union in Oracle'/><category term='Windows MS-DOS'/><category term='Abstract Class'/><category term='java performance'/><category term='System.currentTimeMillis()'/><category term='Java Inheritance'/><category term='Displaying Trigger Errors'/><category term='JDK 1.6'/><category term='JTA'/><category term='JRE'/><category term='Java'/><category term='Report Layout'/><category term='Performance Testing'/><category term='Oralce DBA'/><category term='IBM Mainframe Tutorials'/><category term='ORA-00060: deadlock detected'/><category term='Why Jquery'/><category term='Apache Tomcat Server'/><category term='Struts framework'/><category term='Microsoft Certification'/><category term='Maven'/><category term='DB2 SQL'/><category term='CEMT'/><category term='LAST_DAY'/><category term='ROW Trigger'/><category term='ODBC'/><category term='JAVA.J2EE'/><category term='SQL Server 2005 Developer Edition'/><category term='Introduction to Jquery'/><category term='DB2 PROGRAMMING'/><category term='and Accenture'/><category term='total memory using Java Runtime'/><category term='REF CURSOR'/><category term='IBM Nanophotonic'/><category term='ETL Tools'/><category term='Compiler'/><category term='JavaScript: Dynamically Add/Remove rows in HTML table'/><category term='Cobol Programming'/><category term='JDBC divers for UNIX'/><category term='ArrayList'/><category term='solaris private network'/><category term='SHOW ERRORS'/><category term='WebSphere Application Server'/><category term='35 Powerful jQuery Plugins'/><category term='Oracle SQL'/><category term='Oracle Dynamic SQL'/><category term='JCL tutorials'/><category term='JSP methods'/><category term='Windows'/><category term='JVM Virtual Memory'/><category term='XP Pro SP2'/><category term='NetBeans IDE'/><category term='Java Database Connectivity'/><category term='Oracle Forms'/><category term='JVM Tutorials'/><category term='Viewing Defined Triggers'/><category term='AS/400'/><category term='java.lang.OutOfMemoryError'/><category term='Abstract'/><category term='Oracle Reports 9i'/><category term='JAR Eclipse IDE'/><category term='Character Large Object (CLOB)'/><category term='Microsoft technology'/><category term='Oracle Database'/><category term='Oracle Instances'/><category term='Java Compiler'/><category term='HAVING CLAUSE'/><category term='UnicastRemoteObject'/><category term='JDBC Drivers'/><category term='java class Inheritance'/><category term='Working of Java Virtual Machine (JVM)'/><category term='SQL Server 2005 Jdbc connection'/><category term='Ipad'/><category term='set java heap size in jEdit'/><category term='Types of Triggers in Oracle'/><category term='Adobe Flex Builder'/><category term='oracle tutorials'/><category term='Microsoft SQL Server 2005'/><category term='HTML Using Java'/><category term='DNS services'/><category term='IBM'/><category term='StackOverflow'/><category term='PL/SQL Function Example'/><category term='Infosys'/><category term='Oracle Data import'/><category term='Oracle Installation in Linux'/><category term='Google Android'/><category term='Interface and an Abstract class'/><category term='Oracle Deadlock'/><category term='Collections Framework Java API'/><category term='JVM Exceptions'/><category term='Xbox'/><category term='DB2 Interview Questions'/><category term='SQL Server 2005'/><category term='JNDI names in EJB 3.1'/><category term='Java Tutorials'/><category term='Oracle performance'/><category term='Session'/><category term='Jquery Loading Content'/><category term='NetBeans'/><category term='Oracle Interview Questions'/><category term='NetBeans 6.5'/><category term='EJB 3.1 spec.JNDI names for EJB'/><category term='Java Heap Space'/><category term='Java Debug Interface (JDI)'/><category term='Oracle/PLSQL Data Types'/><category term='Adobe Flash CS5'/><category term='HP Servers'/><category term='Websphere Interview Questions'/><category term='Oralce Pseudocolumns'/><category term='Tomcat'/><category term='CICS in the COBOL program'/><category term='instead of trigger'/><category term='Minus in oracle'/><category term='Jquery Advantages'/><category term='JAVA Classpath'/><category term='VB.net'/><category term='iPhone'/><category term='Time Interval Related Functions'/><category term='Java Application'/><category term='Linux and UNIX Mail Command'/><category term='Apple Ipad'/><category term='Eclipse'/><category term='DB2 UDB Admin Interview Questions'/><category term='PKZIP in  os/390'/><category term='Oracle Real Application Clusters (RAC)'/><category term='Wipro'/><category term='JAVA J2EE tutorial'/><category term='VSAM Interview Questions'/><category term='Eclipse WTP'/><category term='Mainframe'/><category term='Oracle SQLERRM Function'/><category term='Oracle Large Objects with JDBC'/><category term='Unix'/><category term='Crystal Reports'/><category term='JCL Interiew Questions'/><category term='APR library'/><category term='Abstraction'/><category term='Mainframe Architecture'/><category term='AWT'/><category term='HP Certification'/><category term='Samba'/><category term='Java Collections API Interview Questions'/><category term='EclipseCon 2010 Registration'/><category term='Oracle Data Export'/><category term='XML Examples'/><category term='CICS'/><category term='java.lang.reflect.InvocationtargetException'/><category term='Oracle'/><category term='Business Intelligence'/><category term='triggers'/><category term='No available router to destination'/><category term='Java Interface Examples'/><category term='XML Parser'/><category term='EJB lite'/><category term='Java Sun Certification'/><category term='CECI transactions in CICS'/><category term='Java Package Interview questions'/><category term='HP Dell and IBM'/><category term='Scala'/><category term='Oracle Sqlplus'/><category term='Oracle Triggers'/><category term='Core packages in Java SE 6'/><category term='Visual C# .NET'/><category term='OOPS'/><category term='Tomcat Connectors'/><category term='set java heap size in Apache Ant'/><category term='Jquery Tutorials'/><category term='ActiveX Controls'/><category term='J2EE application'/><category term='Oracle RAC'/><category term='Web applications'/><category term='PSP Gaming'/><category term='wrapped Exception'/><category term='increase the heap size available to Eclipse'/><category term='Java DOM Tutorial'/><category term='BlockingDeque'/><category term='Windows Component Services'/><category term='DB2 Admin Interview'/><category term='Hashtable'/><category term='HP'/><category term='NetBeans 6.8'/><category term='Autodesk Maya 2010'/><category term='stored procedures'/><category term='Oracle Sleep Function'/><category term='Timestamp-Related Functions'/><category term='Cloud Computing'/><category term='Core Java Tutorial'/><category term='SAP BO'/><category term='Java 6.0 New Collection APIs'/><category term='Adobe Flex Builder 3'/><category term='IMS'/><category term='Server'/><category term='COBOL Tutorials'/><category term='Xerces Parser'/><category term='RDBMS'/><category term='Pragma EXECPTION_INIT'/><category term='JDBC'/><category term='Oracle Cursors'/><category term='Multiple Inheritance'/><category term='Export oracle report data'/><category term='WebSphere Portal'/><category term='VS 2005 Professional'/><category term='Database'/><category term='servlets'/><category term='Linux'/><category term='PL Sql'/><category term='LEVEL in Oracle'/><category term='Oracle PL/SQL Interview Questions'/><category term='IDE Jboss'/><category term='Sleep Less Than One Millisecond'/><category term='NetBeans IDE 6.9'/><category term='Ubuntu'/><category term='Function Overloading in Java'/><category term='Encapsulation'/><category term='Unix Tutorial'/><category term='Adobe Flex Builder 4'/><category term='XML in Java'/><category term='SAXParserFactory'/><category term='SAP certification'/><category term='Java Tutorial'/><category term='JDBC Connectivity'/><category term='Java SE 6'/><category term='JSP'/><category term='Gather Stats in Oracle'/><category term='IBM Datastage'/><category term='XML Example'/><category term='Stored Procedure'/><category term='CICS Interview MNC Questions'/><category term='Remote Debugging JBoss Apps with Eclipse'/><category term='Best Java Interface Example'/><category term='Hibernate'/><category term='10 principles of testing'/><category term='Core Dump inUnix'/><category term='Windows7'/><category term='Procedure Overloading in Oracle'/><category term='JVM Wrapper'/><category term='JVM Runtime Exceptions'/><category term='JAR file in Java'/><category term='FOR UPDATE'/><category term='AWR Oracle 10g'/><category term='SAXParser'/><category term='Introduction to Mainframe'/><category term='SQL server 2008'/><category term='explicit cursor'/><category term='Javascript Validation'/><category term='Oracle Applications'/><category term='Difference between JSP and Servlets'/><category term='Statement trigger'/><category term='XML Tools'/><category term='Amarok 2.3.0'/><category term='Jython'/><category term='About Jquery'/><category term='Java Download'/><category term='MSSQL 2005 -JDBC Connection'/><category term='ORA-28009 Error'/><category term='Visual Basic .NET'/><category term='How to Install Oracle 10g on Linux'/><category term='PRAGMA EXECPTION_INITOracle'/><category term='Oracle PRAGMA'/><category term='XML file in Java'/><category term='JSP tutorial'/><category term='KDE Software'/><category term='Oracle SQL Tutorials'/><category term='Cursors in Oracle'/><category term='IBM infosphere'/><category term='IBM Mainframes'/><category term='Oracle Pl/SQL Collections'/><category term='Oracle PL/SQL Joins'/><category term='Sun Developer Jobs'/><category term='JCL'/><category term='IBM AIX Unix'/><category term='JPDA'/><category term='UNIX to IBM Mainframes'/><category term='MySQL'/><category term='LEVEL'/><category term='security'/><category term='Microsoft Visual Studio 2010'/><category term='HTML Tutorials'/><category term='AWR Features'/><category term='JMS Problem Determination'/><category term='Validating Parameters in Oracle Reports'/><category term='Resolve Memory Leak Problems'/><category term='Oracle Data Dictionary Objects'/><category term='Java Debug Wire Protocol'/><category term='JDK'/><category term='CPU utilisation'/><category term='HTTP connector'/><category term='MySQL 5.0'/><category term='Visual Studio 2010 Beta 2'/><category term='Software Developers'/><category term='Principles of SOA'/><category term='JSP tags'/><category term='VSAM'/><category term='Java Collections'/><category term='DBA'/><category term='DOM Parser in JAVA'/><category term='DBMS'/><category term='JDBC drivers on UNIX'/><category term='Oralce PL/SQL Interview Questions'/><category term='Hewlett Packard'/><category term='Ubuntu 10.10'/><category term='Oracle PL/SQL Tutorial'/><category term='Java 6 Collections'/><category term='DB2 UDB Admin'/><category term='Java Jobs'/><category term='Oracle PL/SQL Data Types'/><category term='Example of PL/SQL trigger in Oracle'/><category term='Java lang package interview questions'/><category term='Windows Network'/><category term='scripting languages'/><category term='SQL Server'/><category term='set java heap size in JavaEE SDK'/><category term='ORA Exceptions'/><category term='NavigableMap'/><category term='Apache Portable Runtime'/><category term='DB2 Administration'/><category term='Fedora12'/><category term='Java Framework'/><category term='J2EE Tutorials'/><category term='Ajax'/><category term='JDBC Example'/><category term='Programming'/><category term='Mainframes Architecture'/><category term='IBM AIX'/><category term='Oracle Procedures'/><category term='CICS Interview Questions'/><category term='Oralce ORDER BY'/><category term='Features of Jquery'/><category term='Map in java'/><category term='Programmer'/><category term='Autodesk Maya 2009'/><category term='Java Packages'/><category term='JSP Life Cycle Explanation'/><category term='Pseudo-conversation'/><category term='Common Errors in Setting Java Heap Size'/><category term='Jquery Selector'/><category term='Oracle PL/SQL Date Timestamp Functions'/><category term='VB.NET Crystal Reports'/><category term='visual basic Interview Questions'/><category term='Spring'/><category term='Oracle Joins'/><category term='OLE Controls'/><category term='JMS Interview Questions'/><category term='Debugging an application that is running in a CICS JVM'/><category term='Creating AWR report'/><category term='HP Certification I HP0-766 Exam'/><category term='Method Overriding in Java'/><category term='Adobe Flash'/><category term='COBOL TALLYING'/><category term='XML Tutorials'/><category term='SAP Certification Course'/><category term='Web Server Plug-In Problem Determination'/><category term='JSP Directives'/><category term='Login Page'/><category term='LinkedList'/><category term='Microsoft Online Services'/><category term='PermGen'/><category term='JavaScript countdown timer'/><category term='Microsoft Office 2010'/><category term='Oracle Functions'/><category term='Oracle Schema'/><category term='Forward declaration in Oracle'/><category term='Mainframes tutorials'/><category term='AWR Report'/><category term='EJBException'/><category term='How to Install and Configure Oracle on Linux'/><category term='Materialized views in Oracle'/><category term='Awk Tutorial'/><category term='Oracle/PLSQL'/><category term='Java Testing Software'/><category term='Java Exceptions'/><category term='java.sql.SQLException'/><category term='Adobe Flash Player'/><category term='Software Engineer'/><category term='Importing Data using Oracle'/><category term='uTorrent For Linux'/><category term='Linux Tutorial'/><category term='Garbage Collection in JVM'/><category term='ROWNUM'/><category term='SAP XI Certification'/><category term='Oracle NLS Format'/><category term='Wrapper Classes'/><category term='Implicit Cursor'/><category term='JBOSS'/><category term='Vector'/><category term='Using Datetime Functions'/><category term='RemoteException'/><category term='JVM Options'/><category term='Java Certification'/><category term='Setting the Java classpath'/><category term='Oracle XMLELEMENT Example'/><title type='text'>Developers Arena</title><subtitle type='html'>A Complete Blog for The Aspiring Developers</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://developers-arena.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default?start-index=101&amp;max-results=100'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>445</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5385703420134871892</id><published>2011-09-15T01:20:00.001-07:00</published><updated>2011-09-15T01:21:31.584-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ETL Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='ETL Open Source'/><category scheme='http://www.blogger.com/atom/ns#' term='ETL'/><title type='text'>ETL Tools</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2 style="font-family: Arial, 'Trebuchet MS', sans-serif; font-size: 13px; font-weight: bold; margin-bottom: 10px; margin-left: 10px; margin-right: 10px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-transform: uppercase;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;ETL TOOLS&lt;/span&gt;&lt;/h2&gt;&lt;div style="margin-bottom: 10px; margin-left: 10px; margin-right: 10px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;The times of increasing data-dependence forced a lot of companies to invest in complicated data warehousing systems. Their differentiation and incompatibility led to an uncontrolled growth of costs and time needed to coordinate all the processes. The ETL (Extract, transform, load) tools were created to&amp;nbsp;&lt;/span&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;simplify the data management with simultaneous reduction of absorbed effort.&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;Depending on the needs of customers there are several types of tools.&amp;nbsp;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;One of them perform and supervise only selected stages of the ETL process like data migration tools(&lt;/span&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;EtL Tools&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;,&amp;nbsp;&lt;/span&gt;&lt;i style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;“small t”&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;tools) , data transformation tools(&lt;/span&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;eTl Tools&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;,&amp;nbsp;&lt;/span&gt;&lt;i style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;“capital T”&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;tools).Another are complete (&lt;/span&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;ETL Tools&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;) and have many functions that are intended for processing large amounts of data or more complicated ETL projects.&amp;nbsp;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;Some of them like server engine tools execute many ETL steps at the same time from more than one developer , while other like client engine tools are simpler and execute ETL routines on the same machine as they are developed.&amp;nbsp;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;There are two more types. First called&amp;nbsp;&lt;/span&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;code base tools&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;is a family of programing tools which allow you to work with many operating systems and programing languages.The second one called&amp;nbsp;&lt;/span&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;GUI base tools&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;remove the coding layer and allow you to work without any knowledge (in theory) about coding languages.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5385703420134871892?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5385703420134871892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5385703420134871892'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/09/etl-tools.html' title='ETL Tools'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3165855534897335233</id><published>2011-09-15T01:16:00.000-07:00</published><updated>2011-09-15T01:16:48.543-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Informatica'/><category scheme='http://www.blogger.com/atom/ns#' term='ETL Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Business Intelligence'/><category scheme='http://www.blogger.com/atom/ns#' term='IBM Datastage'/><category scheme='http://www.blogger.com/atom/ns#' term='Dataware Housing'/><category scheme='http://www.blogger.com/atom/ns#' term='IBM infosphere'/><title type='text'>How do the ETL tools work ? |ETL Tools Selection in Data Warehousing</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3 style="font-family: Arial, 'Trebuchet MS', sans-serif; font-size: 13px; font-weight: bold; margin-bottom: 10px; margin-left: 10px; margin-right: 10px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;How do the ETL tools work?&lt;/span&gt;&lt;/h3&gt;&lt;div style="margin-bottom: 10px; margin-left: 10px; margin-right: 10px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;The first task is data&amp;nbsp;&lt;/span&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;extraction&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;from internal or external sources. After sending queries to the source system data may go indirectly to the database. However usually there is a need to monitor or gather more information and then go to&amp;nbsp;&lt;/span&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Staging Area&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;. Some tools extract only new or changed information automatically so we dont have to update it by our own.&amp;nbsp;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;The second task is&amp;nbsp;&lt;/span&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;transformation&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;which is a broad category:&amp;nbsp;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;-transforming data into a stucture wich is required to continue the operation (extracted data has usually a sructure typicall to the source)&amp;nbsp;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;-sorting data&amp;nbsp;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;-connecting or separating&amp;nbsp;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;-cleansing&amp;nbsp;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;-checking quality&amp;nbsp;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;The third task is&amp;nbsp;&lt;/span&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;loading into a data warehouse&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;.&amp;nbsp;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;As you can see the ETL Tools have many other capabilities (next to the main three: extraction , transformation and loading) like for instance sorting , filtering , data profiling , quality control, cleansing , monitoring , synchronization and consolidation.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3165855534897335233?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3165855534897335233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3165855534897335233'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/09/how-do-etl-tools-work-etl-tools.html' title='How do the ETL tools work ? |ETL Tools Selection in Data Warehousing'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-90421271308881499</id><published>2011-09-15T01:14:00.000-07:00</published><updated>2011-09-15T01:14:47.499-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Informatica'/><category scheme='http://www.blogger.com/atom/ns#' term='ETL Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Dataware Housing'/><category scheme='http://www.blogger.com/atom/ns#' term='ETL'/><category scheme='http://www.blogger.com/atom/ns#' term='Data Integration'/><title type='text'>ETL Process ,ETL Tools Selection in Data Warehousing</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 16px;"&gt;&lt;h2 style="font-family: Arial, 'Trebuchet MS', sans-serif; font-size: 13px; font-weight: bold; margin-bottom: 10px; margin-left: 10px; margin-right: 10px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-transform: uppercase;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;ETL PROCESS&lt;/span&gt;&lt;/h2&gt;&lt;div style="margin-bottom: 10px; margin-left: 10px; margin-right: 10px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;img alt="ETL process" class="float-right" src="http://www.etltools.net/img/etl.jpg" style="border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 2px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 2px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 2px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 2px; float: right; margin-bottom: 10px; margin-left: 10px; margin-right: 0px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;The three-stage ETL process and the&amp;nbsp;&lt;/span&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;ETL tools&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;implementing the concept might be a response for the needs described above.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;The ‘ETL’ shortcut comes from&amp;nbsp;&lt;/span&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;'Extract, transform, and load'&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;– the words that describe the idea of the system. The ETL tools were created to improve and facilitate data warehousing.&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 10px; margin-left: 10px; margin-right: 10px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;/div&gt;&lt;ol style="margin-bottom: 10px; margin-left: 20px; margin-right: 20px; margin-top: 10px; padding-bottom: 0px; padding-left: 20px; padding-right: 20px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;The Etl process consists of the following steps:&lt;/span&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Initiation&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Build reference data&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Extract from sources&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Validate&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Transform&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Load into stages tables&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Audit reports&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Publish&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Archive&lt;/span&gt;&lt;/li&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Clean up&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style="margin-bottom: 10px; margin-left: 10px; margin-right: 10px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Sometimes those steps are supervised and performed indirectly but its very time-consuming and may be not so accurate.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;The&amp;nbsp;&lt;/span&gt;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;purpose of using ETL Tools&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;nbsp;is to save the time and make the whole process more reliable.&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-90421271308881499?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/90421271308881499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/90421271308881499'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/09/etl-process-etl-tools-selection-in-data.html' title='ETL Process ,ETL Tools Selection in Data Warehousing'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-6320818725438457829</id><published>2011-09-15T01:09:00.000-07:00</published><updated>2011-09-15T01:11:15.666-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Informatica'/><category scheme='http://www.blogger.com/atom/ns#' term='ETL Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Business Intelligence'/><category scheme='http://www.blogger.com/atom/ns#' term='IBM Datastage'/><category scheme='http://www.blogger.com/atom/ns#' term='ETL'/><title type='text'>Extract, transform, load |ETL Tools Selection in Data Warehousing</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; line-height: 16px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Nowadays, most companies’ existence depends on data flow. When plenty of information is generally accessible and one can find almost everything he needs, managing became easier than ever before. The Internet simplifies cooperation – time needed to send and receive requested data gets shorter as more and more institutions computerize their resources. Also, the communication between separate corporation departments became easier – no one needs to send normal letters (or even the office boys) as the process is replaced by e-mails. Although the new ways of communication improved and facilitated managing, the ubiquitous computerization has its significant disadvantages.&lt;br /&gt;&lt;br /&gt;The variety of data – as positive phenomenon as possible – got a little bit out of control. The unlimited growth of databases’ size caused mess that often slows down (or even disable) data finding process.&lt;br /&gt;&lt;br /&gt;It’s all about effective information storing. Uncategorized data is assigned to different platforms and systems. As a consequence, finding wanted data brings a lot of troubles – user needs to know what data he administers, where it is located (and whether he has proper access), finally how to take them out.&lt;br /&gt;Wrong was someone who thought that the hardest task was making decisions basing on data. No – finding data itself is often much more annoying. But users are not the only ones suffering for databases’ overgrowth. The IT departments – usually responsible for keeping the systems work – have to struggle with data in different formats and systems. ‘Keeping it alive’ is extremely time-consuming what delays the company’s work.&lt;br /&gt;Slow (or sometimes omitted at all) transformation of data causes that it’s usually impossible to provide demanded information in demanded time. Formed divergence between data provided and data really existing in the moment of need harms the IT departments’ image.&lt;br /&gt;&lt;br /&gt;To achieve better results, companies invest in external systems – computing power and resources. Not enough power causes lacks of synchronization of data. Transporting information between separate units lasts too long to work effectively. On the other side, computing power increasing – that might be an example solution – is expensive and lead to overgrowth of the operation costs.&lt;br /&gt;Supposing that example company managed to prepare well-working database responsible for supporting designated operation. A lot of money and time got spent. Everything seems wonderful until it comes to another operation. Suddenly it appears that once created system doesn’t really fit the requirements of new operation and the best idea is to create a new system from the beginning. Yes, modifications might be made but there is no single developer common for all parts of the projects, so it demands cooperation of at least a few subjects – that hardly disables the idea.&lt;br /&gt;&lt;br /&gt;Some List of ETL Tools&lt;br /&gt;----------------------------&lt;br /&gt;&lt;br /&gt;Here is a list of the most popular comercial and freeware(open-sources) ETL Tools.&lt;br /&gt;Comercial ETL Tools:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;IBM Infosphere DataStage&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Informatica PowerCenter&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Oracle Warehouse Builder (OWB)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Oracle Data Integrator (ODI)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;SAS ETL Studio&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Business Objects Data Integrator(BODI)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Microsoft SQL Server Integration Services(SSIS)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Ab Initio&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Freeware, open source ETL tools:&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Pentaho Data Integration (Kettle)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Talend Integrator Suite&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;CloverETL&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;Jasper ETL&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;ul style="margin-bottom: 10px; margin-left: 20px; margin-right: 20px; margin-top: 10px; padding-bottom: 0px; padding-left: 20px; padding-right: 20px; padding-top: 0px;"&gt;&lt;/ul&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-6320818725438457829?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6320818725438457829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6320818725438457829'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/09/extract-transform-load-etl-tools.html' title='Extract, transform, load |ETL Tools Selection in Data Warehousing'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5780665300234791674</id><published>2011-05-24T11:16:00.000-07:00</published><updated>2011-05-24T11:16:49.592-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CICS Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='CICS Transactions'/><title type='text'>What are different ways of Initiating Transaction in CICS?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;b&gt;We can initiate the transation through MQ and TCP/IP and Terminal and consol.&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;We can initiate CICS Transaction By giving TRANSACTION ID By giving CICS START Command AUTOMATIC TASK INITIATION(ATI).&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;&amp;nbsp;Other Methods:&lt;/b&gt;&lt;br /&gt;&lt;b&gt; &lt;/b&gt;&lt;br /&gt;&lt;div&gt; &lt;br /&gt;1. By entering Transaction Id(4 bytes)&lt;br /&gt;2.By Start command&lt;br /&gt;3. By Return Trans Id (as in pseudo conv)&lt;br /&gt;4. By Registering Tran ID in plt so that it will be automaticaly dusring CICS start&lt;br /&gt;5. By ATI&lt;br /&gt;6.PF PA keys as defined in PCT &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5780665300234791674?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5780665300234791674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5780665300234791674'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/what-are-different-ways-of-initiating.html' title='What are different ways of Initiating Transaction in CICS?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7152009964599038213</id><published>2011-05-24T11:15:00.000-07:00</published><updated>2011-05-24T11:15:22.362-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CICS Interview Questions'/><title type='text'>How a CICS Transaction be initiated?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Involving CICS Control programs and Control tables. a. Trans-id entered in &lt;span class="IL_AD" id="IL_AD8"&gt;terminal&lt;/span&gt; b. TCP with TCT recognizes incoming data c. SCP acquires the storage for &lt;span class="IL_AD" id="IL_AD5"&gt;the Terminal&lt;/span&gt; Input-Output Area (TIOA) d. KCP prepares control data for this task e.KCP, through PCT, tries to find the &lt;span class="IL_AD" id="IL_AD2"&gt;application&lt;/span&gt; program associated with the Trans-id. f. If PPT entry of the application program does not show the resident address of the program, KCP passes control to PCP, which fetches the application program from the load library and places it into the main storage. g. KCP passes control to the application program. h. Application program starts its processing&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7152009964599038213?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7152009964599038213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7152009964599038213'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/how-cics-transaction-be-initiated.html' title='How a CICS Transaction be initiated?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-2808409581574418927</id><published>2011-05-24T11:14:00.000-07:00</published><updated>2011-05-24T11:14:05.630-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CICS Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='CEBR'/><category scheme='http://www.blogger.com/atom/ns#' term='CEMT'/><category scheme='http://www.blogger.com/atom/ns#' term='CECI transactions in CICS'/><category scheme='http://www.blogger.com/atom/ns#' term='CEDF'/><title type='text'>CEDF,CEMT,CEBR,CECI transactions in CICS</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;CEDF : &lt;/b&gt;&lt;br /&gt;CICS-supplied Execution Diagnostic Facility &lt;span class="IL_AD" id="IL_AD3"&gt;transaction&lt;/span&gt;. It provides interactive program execution and &lt;span class="IL_AD" id="IL_AD5"&gt;debugging&lt;/span&gt; functions of a CICS programs. &lt;br /&gt;CEMT : CICS-supplied Extended Master Terminal transaction. It displays or manipulates CICS control environment interactively.&lt;br /&gt;CEBR : CICS-supplied &lt;span class="IL_AD" id="IL_AD2"&gt;Temporary Storage&lt;/span&gt; Browse transaction. It displays the content of Temporary Storage Queue ( TSQ ).&lt;br /&gt;CECI : CICS-supplied Command Interpreter transaction. It verifies the syntax of a CICS command and executes the command. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-2808409581574418927?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2808409581574418927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2808409581574418927'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/cedfcemtcebrceci-transactions-in-cics.html' title='CEDF,CEMT,CEBR,CECI transactions in CICS'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-4172330470040579254</id><published>2011-05-24T11:10:00.000-07:00</published><updated>2011-05-24T11:10:38.392-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CICS Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='IBM'/><category scheme='http://www.blogger.com/atom/ns#' term='Infosys'/><category scheme='http://www.blogger.com/atom/ns#' term='HP'/><category scheme='http://www.blogger.com/atom/ns#' term='TCS'/><title type='text'>CICS Interview Questions for TCS,Infosys,IBM,HP and Other Companies</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;   &lt;/b&gt;&lt;li&gt;&lt;b&gt;How do you place the cursor on a particular position on the screen? –  &lt;/b&gt;&lt;/li&gt;&lt;/span&gt;&lt;/ol&gt;&lt;span style="font-size: small;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Move  -1 to the length attribute of the field aand use the CURSOR option. &lt;br /&gt;&lt;b&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Define the field with IC  in the BMS map.&lt;/b&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Use  CURSOR(n m)??&lt;br /&gt;&lt;ol start="3"&gt;&lt;b&gt;   &lt;/b&gt;&lt;li&gt;&lt;b&gt;What are the two outputs created as a result of generation of a map? –  &lt;/b&gt;   The map copybook and the load module.&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between physical map and symbolic map? –  &lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The  physical map is the load module and the symbolic map is the data  structure.&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How do you protect a  field from being overlaid? - &lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;What  is the attribute byte? – &lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Defines  the display/transmission of field. most cases is an output field from the  program.&lt;br /&gt;&lt;ol start="6"&gt;&lt;b&gt;   &lt;/b&gt;&lt;li&gt;&lt;b&gt;How do you use extended attributes ? &lt;/b&gt;   Define EXTATT=YES and the correct terminal type.&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are the 3 working storage fields used for every field on the map? –    &lt;/b&gt;   Length, attribute and input/output field. &lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is MDT? What are FSET, FRSET ? &lt;/b&gt;   Modified Data Tag. Bit in the attribute byte indicating modification of    field on screen. Happens on an input operation. &lt;br /&gt;FSET. Sets MDT on to ensure field is transmitted. Happens on an output    operation.&lt;br /&gt;FRSET. Resets MDT. Until this happens, field continues to be sent.&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the use of DSECT parameter in BMS? &lt;/b&gt;   Is the parameter to generate a symbolic map.&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Do you receive the attribute byte in the symbolic map? &lt;/b&gt;   On EOF yes.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;How do you make your BMS maps case sensitive? &lt;/b&gt;   Use ASIS???&lt;br /&gt;&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is effect on RECEIVE MAP when &lt;/b&gt;   PF key is pressed? Data transmission may happen, &lt;br /&gt;PA key is pressed? Data transmission will not happen.&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are SEND MAP MAPONLY &amp;amp; SEND MAP DATAONLY ? &lt;/b&gt;   MAPONLY - to send the map alone, without any data. Eg: used for sending    Menu screens.&lt;br /&gt;DATAONLY - to send data alone, without sending the screen layout again. Eg:    used for refreshing the screen data.&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between a PF key &amp;amp; a PA key ? &lt;/b&gt;   PF keys wake up the task and transmit modified data, PA keys only wake up    the task.&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Name the macros used to define the following: &lt;/b&gt;   MAP MAPSET FIELD&lt;br /&gt;DFHMSD DFHMDI DFHMDF&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Can you use OCCURS in a BMS map? If you do, what are the issues related    with its use? &lt;/b&gt;   Yes. cannot use group by clause???&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Can you define multiple maps in a BMS mapset? &lt;/b&gt;   Yes.&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;How is the storage determined in the symbolic map, if you have multiple    maps? &lt;/b&gt;   Storage for maps redefine the first. This means largest map has to be the    first.&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the meaning of BMS length of field = 0? &lt;/b&gt;   Data was not entered in the field&lt;br /&gt;&lt;b&gt;   &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Can you simply check if length = 0 for checking if a field was modified?    &lt;/b&gt;   No, not if ERASE EOF was used.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-4172330470040579254?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4172330470040579254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4172330470040579254'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/cics-interview-questions-for.html' title='CICS Interview Questions for TCS,Infosys,IBM,HP and Other Companies'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5756477999076496781</id><published>2011-05-24T11:06:00.001-07:00</published><updated>2011-05-24T11:06:53.095-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix Tutorial'/><title type='text'>Difference between single quotes and double quotes in unix</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Enclosing characters in single quotes (`'') preserves the literal value  of each character within the quotes.&amp;nbsp;&amp;nbsp;A single quote may not occur  between single quotes, even when preceded by a backslash.&lt;br /&gt;&lt;br /&gt;Enclosing  characters in double quotes (`"') preserves the literal value of all  characters within the quotes, with the exception of `$', ``', and  `\'.&amp;nbsp;&amp;nbsp;The characters `$' and ``' retain their special meaning within  double quotes (*note Shell Expansions::).&amp;nbsp;&amp;nbsp;The backslash retains its  special meaning only when followed by one of the following characters:  `$', ``', `"', `\', or `newline'.&amp;nbsp;&amp;nbsp;Within double quotes, backslashes  that are followed by one of these characters are removed. Backslashes  preceding characters without a special meaning are left unmodified.&amp;nbsp;&amp;nbsp;A  double quote may be quoted within double quotes by preceding it with a  backslash.&lt;br /&gt;&lt;br /&gt;The special parameters `*' and `@' have special meaning when in double quotes (*note Shell Parameter Expansion::).&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5756477999076496781?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5756477999076496781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5756477999076496781'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/difference-between-single-quotes-and.html' title='Difference between single quotes and double quotes in unix'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3064734779815356712</id><published>2011-05-23T09:33:00.000-07:00</published><updated>2011-05-23T09:33:45.314-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mainframes Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='VSAM Interview Questions'/><title type='text'>What is the difference between CI( CONTROL INTERVAL)and CA(CONTROL AREA)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span id="sort1"&gt;&lt;span class="tdvamseel"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;The CI is a single unit of  transfer from secondary to main memory. Inside it will have freespace to  store the records of fixed or variable size.&lt;br /&gt;If u try to insert a  new record to a ci which is not having any space to hold at that time  the half of the record from this ci will be moved to some free ci. This  splitting of ic in case of ci full is called CI splitt.&lt;br /&gt;A  collection of ci is called as CA. During the ci splitt if it is unable  to find the free ci at that time the entire CA will be splitted into two  and half will be moved to some free CA. This is called CA splitt. This  is the primary mechanism of the VASM to store all the records inside  your ksds in sorted order.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3064734779815356712?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3064734779815356712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3064734779815356712'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/what-is-difference-between-ci-control.html' title='What is the difference between CI( CONTROL INTERVAL)and CA(CONTROL AREA)'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-493109876581060120</id><published>2011-05-23T09:32:00.000-07:00</published><updated>2011-05-23T09:32:18.198-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mainframes Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='VSAM Interview Questions'/><title type='text'>What is the procedure for running the batch job in mainframe?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span id="sort1"&gt;&lt;span class="tdvamseel"&gt;&lt;span&gt;Friends let me explain with an example:--&lt;br /&gt;&lt;br /&gt;EG:-Adding two numbers&lt;br /&gt;&lt;br /&gt;Step-1:-  We need to compile that program and that compiled program(i.e Error  free code) we need to keep in one Load Library (EG:-ABCD.GEEK.LOADLIB)&lt;br /&gt;&lt;br /&gt;Step-2:- Now we need to execute this program giving PGM=ADD(Program Name) and the Load Libray name(ABCD.GEEK.LOADLIB)&lt;br /&gt;&lt;br /&gt;Step-3:- Now In SYSOUT we can view the results&lt;br /&gt;&lt;br /&gt;That's it this the process how to compile and execute a batch program&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-493109876581060120?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/493109876581060120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/493109876581060120'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/what-is-procedure-for-running-batch-job.html' title='What is the procedure for running the batch job in mainframe?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5037003965219948544</id><published>2011-05-23T09:30:00.000-07:00</published><updated>2011-05-23T09:30:22.038-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VSAM Interview Questions'/><title type='text'>How do you convert flat files to VSAM files</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Let's be a little more precise.We will take the tack that you will be creating a KSDS file.First, &lt;span class="IL_AD" id="IL_AD1"&gt;you need to know&lt;/span&gt; which field/s you will be using as the &lt;span class="IL_AD" id="IL_AD11"&gt;primary&lt;/span&gt;  key and if you need, alternate keys. Sort the records by that  field/s.Use IDCAMS REPRO to load the flat file into the VSAM file.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5037003965219948544?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5037003965219948544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5037003965219948544'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/how-do-you-convert-flat-files-to-vsam.html' title='How do you convert flat files to VSAM files'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3153644168740634869</id><published>2011-05-23T09:28:00.001-07:00</published><updated>2011-05-23T09:28:46.148-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CICS Interview Questions'/><title type='text'>difference between Intra partition TDQ and Extra partition TDQ?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;INTRA PARTITION TD QUEUEs It is a group of sequential records which  are produced by the same and / or different transactions within a CICS  region. These Qs are &lt;span class="IL_AD" id="IL_AD9"&gt;stored&lt;/span&gt; in only one physical file ( VSAM ) in a CICS region, which is prepared by the system &lt;span class="IL_AD" id="IL_AD10"&gt;programmer&lt;/span&gt;.  Once a record is read from a queue, the record will be logically  removed from the queue; that is the record cannot be read again. EXTRA PARTITION  TD QUEUEs It is a group of sequential records which interfaces between  the transactions of the CICS region and the systems outside of CICS  region. Each of these TDQs is a &lt;span class="IL_AD" id="IL_AD7"&gt;separate&lt;/span&gt; physical file, and it may be on the disk, tape, printer or plotter.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3153644168740634869?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3153644168740634869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3153644168740634869'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/difference-between-intra-partition-tdq.html' title='difference between Intra partition TDQ and Extra partition TDQ?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5526067303732407966</id><published>2011-05-23T09:27:00.001-07:00</published><updated>2011-05-23T09:27:44.853-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CICS Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='Pseudo-conversation'/><title type='text'>What is Pseudo-conversation?How it is achieved in CICS Programs?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;The programming methodology in which the task will not wait for the &lt;span class="IL_AD" id="IL_AD11"&gt;terminal&lt;/span&gt;  users response, but frees and resources after sending the message is  call a PSEDUDO Conversational Technique. Terminating the task every time  the &lt;span class="IL_AD" id="IL_AD2"&gt;application&lt;/span&gt; needs a response from the user and then starting the next &lt;span class="IL_AD" id="IL_AD4"&gt;transaction&lt;/span&gt; when the user presses a &lt;span class="IL_AD" id="IL_AD5"&gt;attention&lt;/span&gt; key is PSEUDO Conversational Processing.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="Justify"&gt;&lt;span class="IL_AD" id="IL_AD3"&gt;Generally&lt;/span&gt; the I/O request requiring a user input &lt;span class="IL_AD" id="IL_AD12"&gt;takes&lt;/span&gt;  1000 times more time than CPU processing time. So, the idea is to free  the current CPU resources till the user gives his response and initiate  the same after receiving the response from user. In the meantime, CPU  engages itself in processing other programs/transactions. This helps  multitasking concept and hnce faster and &lt;span class="IL_AD" id="IL_AD7"&gt;concurrent&lt;/span&gt; processing.&lt;/div&gt;&amp;nbsp;     &lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5526067303732407966?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5526067303732407966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5526067303732407966'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/what-is-pseudo-conversationhow-it-is.html' title='What is Pseudo-conversation?How it is achieved in CICS Programs?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-4714304377665154109</id><published>2011-05-23T09:26:00.001-07:00</published><updated>2011-05-23T09:26:51.317-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CICS Interview Questions'/><title type='text'>What is the difference between the XCTL and LINK commands?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;div align="Justify"&gt;XCTL : This command passes the control to the same level.Control does not return back after this command is executed. &lt;br /&gt;Syntax: &lt;br /&gt;EXEC CICS XCTL&lt;br /&gt;PROGRAM(PGMNAME)&lt;br /&gt;COMMAREA(DATA-NAME)&lt;br /&gt;END-EXEC.&lt;br /&gt;&lt;br /&gt;LINK: link transfers the control to the next lower  level.Link command also expects the control to return back. &lt;br /&gt;Syntax is same use link in place of XCTL.&amp;nbsp;&lt;/div&gt;&lt;div align="Justify"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="Justify"&gt;Both XCTL and LINK are control transfer commands. &lt;br /&gt;&lt;br /&gt;XCTL  transfers the control to another program (called program) at the level  below to the calling program. Control is never returned back to the  called program.&lt;br /&gt;&lt;br /&gt;LINK transfers the control to another program  (called program) at the same of the calling program. Control is expected  to return back to the called program. &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-4714304377665154109?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4714304377665154109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4714304377665154109'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/what-is-difference-between-xctl-and.html' title='What is the difference between the XCTL and LINK commands?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5345065290969517239</id><published>2011-05-23T09:25:00.000-07:00</published><updated>2011-05-23T09:25:47.355-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CICS Interview Questions'/><title type='text'>CICS Error Code AIEV,IBM AEIV due to length error of COMMAREA on EXEC CICS LINK command</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;h2&gt;&lt;span style="font-size: small;"&gt;Problem(Abstract)&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size: small;"&gt;You have a modified Node Error Program,  DFHZNEP, that issues an EXEC CICS LINK command to another application.  This program has worked for many years until upgrading to z/OS 1.8.   Now, the program abends with abend code AEIV indicating that there is a  length error (LENGERR). &lt;/span&gt;&lt;br /&gt;&lt;h2&gt;&lt;span style="font-size: small;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;&lt;div class="ibm-domino-rtf"&gt;&lt;span style="font-size: small;"&gt;EXEC CICS LINK command has LENGTH parameter coded incorrectly.&lt;/span&gt;&lt;/div&gt;&lt;h2&gt;&lt;span style="font-size: small;"&gt;Diagnosing the problem&lt;/span&gt;&lt;/h2&gt;&lt;div class="ibm-domino-rtf"&gt;&lt;span style="font-size: small;"&gt;Your Link command is coded similar to the following:&lt;br /&gt;&lt;br /&gt;EXEC CICS LINK PROGRAM('SSCCERR')&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;COMMAREA(NEPCABEG)&lt;br /&gt;LENGTH(NEPCALEN) &lt;br /&gt;&lt;br /&gt;NEPCALEN is defined using the DFHNEPCA macro as an equate: &lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;br /&gt;NEPCALEN EQU   *-NEPCABEG&lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;br /&gt;Thus, NEPCALEN is equated to a full word binary value of x'0000009E',  causing the length value to be picked up at location x'9E'. The CICS  Translator loads the address of the equated field into the parameter  list, and this actually yields an address of x'0000009E'.  &lt;/span&gt; &lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;br /&gt;Prior to upgrading to z/OS V1.8, location x'9E' either contained a half  word of zeros or a half word value not having the left most bit turned  on. After upgrading, this storage contains a half word value with the  left most bit turned on, thus thought to be a negative value. The  negative value causes LENGERR  and abendAEIV.&amp;nbsp;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Source :IBM &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5345065290969517239?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5345065290969517239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5345065290969517239'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/cics-error-code-aievibm-aeiv-due-to.html' title='CICS Error Code AIEV,IBM AEIV due to length error of COMMAREA on EXEC CICS LINK command'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-8601192286100490995</id><published>2011-05-21T23:58:00.000-07:00</published><updated>2011-05-21T23:58:04.020-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='connect sql server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft SQL Server 2005'/><title type='text'>How can connect sql server 2005 with java in java?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In order to connect MySQL database with Java one need to use below mentioned sample script:&lt;br /&gt;&lt;br /&gt;&amp;lt;%@ page import="java.sql.*" %&amp;gt;&lt;br /&gt;&amp;lt;%@ page import="com.mysql.jdbc.Driver" %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%!&lt;br /&gt;Class.forName("com.mysql.jdbc.Driver").newInstance  ();&lt;br /&gt;java.sql.Connection conn;&lt;br /&gt;conn = DriverManager.getConnection(&lt;br /&gt;"jdbc:mysql:///?user=&amp;amp;password=")  ;&lt;br /&gt;%&amp;gt; &lt;br /&gt;Use the JDBC functionality to open a connection to SQL Server. &lt;br /&gt;&lt;a href="http://java.sun.com/javase/technologies/database/"&gt; You can read up on how here: &lt;/a&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-8601192286100490995?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8601192286100490995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8601192286100490995'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/how-can-connect-sql-server-2005-with.html' title='How can connect sql server 2005 with java in java?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5616232026565003864</id><published>2011-05-21T23:56:00.000-07:00</published><updated>2011-05-21T23:56:19.636-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='My SQL Server'/><category scheme='http://www.blogger.com/atom/ns#' term='MySQL database with Java'/><title type='text'>How to connect MySQL Database from Java</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In order to connect MySQL database with Java one need to use below mentioned sample script:&lt;br /&gt;&lt;br /&gt;&amp;lt;%@ page import="java.sql.*" %&amp;gt;&lt;br /&gt;&amp;lt;%@ page import="com.mysql.jdbc.Driver" %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%!&lt;br /&gt;Class.forName("com.mysql.jdbc.Driver").newInstance  ();&lt;br /&gt;java.sql.Connection conn;&lt;br /&gt;conn = DriverManager.getConnection(&lt;br /&gt;"jdbc:mysql://&lt;server&gt;/&lt;database&gt;?user=&lt;username&gt;&amp;amp;password=&lt;password&gt;")  ;&lt;br /&gt;%&amp;gt;&lt;/password&gt;&lt;/username&gt;&lt;/database&gt;&lt;/server&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5616232026565003864?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5616232026565003864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5616232026565003864'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/how-to-connect-mysql-database-from-java.html' title='How to connect MySQL Database from Java'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7364310209370339894</id><published>2011-05-21T23:54:00.000-07:00</published><updated>2011-05-21T23:54:54.903-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JDBC in Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Database'/><category scheme='http://www.blogger.com/atom/ns#' term='JDBC'/><title type='text'>Connect to an Oracle database with JDBC in Java</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-size: small;"&gt;JDBC mean Java Database Connectivity. In java, using JDBC drivers, we can connect to database. &lt;br /&gt;Steps to connect to JDBC. &lt;br /&gt;1) Load the driver, using Class.forName(DriverName); &lt;br /&gt;2) Get the connection object, Connection con = Driver.getConnection(loaded driver name); &lt;br /&gt;3) Create a SQL statement, Statement s = con.createStatement(); &lt;br /&gt;4) Create Resultset object using the statement created above, ResultSet rs = s.executeQuery("sql statement"); &lt;br /&gt;&lt;br /&gt;Iterate the result set to get all the values from the database. &lt;br /&gt;&lt;br /&gt;Finally don't miss this &lt;br /&gt;5) s.close(); &lt;br /&gt;6) con.close() ;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;Example:&lt;/b&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;import java.sql.*;&lt;br /&gt;&lt;br /&gt;public class TestDBOracle {&lt;br /&gt;&lt;br /&gt;  public static void main(String[] args)&lt;br /&gt;      throws ClassNotFoundException, SQLException&lt;br /&gt;  {&lt;br /&gt;    Class.forName("oracle.jdbc.driver.OracleDriver");&lt;br /&gt;    //&lt;br /&gt;    // or&lt;br /&gt;    // DriverManager.registerDriver&lt;br /&gt;    //        (new oracle.jdbc.driver.OracleDriver());&lt;br /&gt;&lt;br /&gt;        String url = "jdbc:oracle:thin:@//server.local:1521/prod";&lt;br /&gt;    //               jdbc:oracle:thin:@//host:port/service&lt;br /&gt;    // or&lt;br /&gt;    // String url = "jdbc:oracle:thin:@server.local:1521:prodsid";&lt;br /&gt;    //               jdbc:oracle:thin:@host:port:SID&lt;br /&gt;    //&lt;br /&gt;    //  SID  - System ID of the Oracle server database instance.&lt;br /&gt; //         By default, Oracle Database 10g Express Edition&lt;br /&gt; //         creates one database instance called XE.&lt;br /&gt; //         ex : String url = "jdbc:oracle:thin:@myhost:1521:xe";&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    Connection conn =&lt;br /&gt;         DriverManager.getConnection(url,"scott","tiger");&lt;br /&gt;&lt;br /&gt;    conn.setAutoCommit(false);&lt;br /&gt;    Statement stmt = conn.createStatement();&lt;br /&gt;    ResultSet rset =&lt;br /&gt;         stmt.executeQuery("select BANNER from SYS.V_$VERSION");&lt;br /&gt;    while (rset.next()) {&lt;br /&gt;         System.out.println (rset.getString(1));&lt;br /&gt;    }&lt;br /&gt;    stmt.close();&lt;br /&gt;    System.out.println ("Ok.");&lt;br /&gt;  }&lt;br /&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7364310209370339894?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7364310209370339894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7364310209370339894'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/connect-to-oracle-database-with-jdbc-in.html' title='Connect to an Oracle database with JDBC in Java'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3837443815829535054</id><published>2011-05-21T23:51:00.000-07:00</published><updated>2011-05-21T23:51:31.747-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java XML'/><category scheme='http://www.blogger.com/atom/ns#' term='XML Parser'/><category scheme='http://www.blogger.com/atom/ns#' term='XML with Java'/><category scheme='http://www.blogger.com/atom/ns#' term='XML Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Xerces Parser'/><title type='text'>XML and using Xerces parser for Java to generate and parse XML</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;his small tutorial introduces you to the basic concepts of XML and using Xerces parser for Java to generate and parse XML. &lt;br /&gt;The intended audience are XML beginners with knowledge of Java.&lt;br /&gt;&lt;b&gt;&lt;u&gt;&lt;i&gt;DOM (Document Object Model ) parser&lt;/i&gt;&lt;/u&gt;&lt;/b&gt; - Tree Structure based API: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The Dom parser implements the dom api and it creates a DOM tree in memory for a XML document  &lt;a href="" name="5.2"&gt;&lt;/a&gt; &lt;br /&gt;&lt;b&gt;&lt;u&gt;&lt;i&gt;5.2 SAX (Simple API For XML ) parser&lt;/i&gt;&lt;/u&gt;&lt;/b&gt; - Event Based API &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The SAX parser implements the SAX API and it is event driven interface. As it parses it invokes the callback methods  &lt;a href="" name="5.3"&gt;&lt;/a&gt;  &lt;br /&gt;&lt;b&gt;&lt;u&gt;&lt;i&gt;5.3 When to use DOM parser&lt;/i&gt;&lt;/u&gt;&lt;/b&gt; &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Manipulate the document&lt;/li&gt;&lt;li&gt;Traverse the document back and forth&lt;/li&gt;&lt;li&gt;Small XML files&lt;/li&gt;&lt;/ul&gt;Drawbacks of DOM parser &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Consumes lot of memory    &lt;a href="" name="5.4"&gt;&lt;/a&gt; &lt;b&gt;&lt;u&gt;&lt;i&gt;5.4 When to use SAX parser&lt;/i&gt;&lt;/u&gt;&lt;/b&gt; &lt;br /&gt;&lt;ul&gt;&lt;li&gt;No structural modification&lt;/li&gt;&lt;li&gt;Huge XML files&lt;/li&gt;&lt;/ul&gt;&lt;a href="" name="5.5"&gt;&lt;/a&gt; &lt;b&gt;&lt;u&gt;&lt;i&gt;5.5 Validating And Non Validating&lt;/i&gt;&lt;/u&gt;&lt;/b&gt; &lt;br /&gt;DOM and SAX can either be a validating or a non validating parser.   &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A validating parser checks the XML file against the rules imposed by DTD or XML Schema. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A non validating parser doesn't validate the XML file against a DTD or XML Schema. &lt;br /&gt;Both Validating and non validating parser checks for the well formedness of the xml document&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.totheriver.com/learn/xml/xmltutorial.html"&gt;&lt;b&gt;View Complete Tutorial here &lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3837443815829535054?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3837443815829535054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3837443815829535054'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/xml-and-using-xerces-parser-for-java-to.html' title='XML and using Xerces parser for Java to generate and parse XML'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-8364983088751489366</id><published>2011-05-21T23:48:00.000-07:00</published><updated>2011-05-21T23:48:16.081-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML Parser'/><category scheme='http://www.blogger.com/atom/ns#' term='XML Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='XML in Java'/><category scheme='http://www.blogger.com/atom/ns#' term='JavaXML'/><title type='text'>How to create XML document using java,Java Architecture for XML Binding (JAXB)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;In this section, you will&amp;nbsp; learn to create a &lt;b&gt;XML&lt;/b&gt; document using the &lt;b&gt;DOM&lt;/b&gt; APIs. This XML document uses&amp;nbsp; &lt;b&gt;1.0 &lt;/b&gt;version&amp;nbsp; and &lt;b&gt;UTF-8&lt;/b&gt; encoding.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;To           work with an XML document it is easy to do so, if you have a document           object in place and the XML document loaded in it. Yes, java too has           APIs for working with an XML document. With this API, you can navigate           through the XML document, or create an XML document from the scratch.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;import           org.w3c.dom.Document;&lt;br /&gt;import org.w3c.dom.DOMException;&lt;br /&gt;import org.w3c.dom.Element;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: inherit;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;DocumentBuilderFactory           fact = DocumentBuilderFactory.newInstance();&lt;br /&gt;DocumentBuilder bd = fact.newDocumentBuilder();&lt;br /&gt;doc = bd.newDocument(); &lt;br /&gt;Element rt = (Element) doc.createElement("rtElement"); &lt;br /&gt;document.appendChild(root);&lt;br /&gt;rt.appendChild( doc.createTextNode("Some") );&lt;br /&gt;. . . &lt;br /&gt;. . . &lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: inherit;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Proper           imports are to be done to work with the classes and the methods needed           for working with an XML document. The above code sample would give you           an idea on how to go about it. Methods like createElement of the Element           object are used to create elements. &lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: inherit;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;And these           elements are added to the root node using the method appendChild. Lots           of sample codes are available in the internet on this topic.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Here is Java File: &lt;a href="http://www.roseindia.net/xml/dom/CreatXMLFile.java"&gt;CreatXMLFile.java&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;b&gt;&lt;a href="http://www.roseindia.net/xml/dom/CreatXMLFile.java"&gt;Download this example.&lt;/a&gt;&lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-8364983088751489366?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8364983088751489366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8364983088751489366'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/how-to-create-xml-document-using.html' title='How to create XML document using java,Java Architecture for XML Binding (JAXB)'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3041834747189015788</id><published>2011-05-21T23:43:00.000-07:00</published><updated>2011-05-21T23:44:29.071-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Running Total Field in Crystal Reports'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP Crystal Reports'/><category scheme='http://www.blogger.com/atom/ns#' term='SAP Business Object'/><title type='text'>How to Create Running Total Field in Crystal Reports</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;h2&gt;Overview&lt;/h2&gt;&lt;div class="label"&gt;A running total field in a Crystal report is a  summary field that allows you to control how and when the summary is  calculated, and when it is reset.&lt;br /&gt;In this tutorial, you will create a running total field and insert it into a report.&lt;/div&gt;&lt;div class="label"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="label"&gt;&lt;img alt="" height="280" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmEAAAGsCAIAAAAaCefrAAAgAElEQVR4nO29fZgcV33ne8LD2vfa2FrZkiVZ9sh3sB1Hy3SazEKgIWZwFNZrSMJsur2QTbLhLtRdXq0mjNvEgIcEcoeXWBV24kEGE4zxC1qt19BPKmAZY8m2pGXn3nSyZSDbyPFmd5/1csk4N9wHrJY85/5xqk6dOi/VVd1db13fej6Pnprq06equqvOR79Tp8+PULoJAAAAVJzl5eWFhYVHvndWhLi9EwAAAEDFMTryvCvfrXL+1e9+ydXvkbjgmvdeqLBl7/u27H3fP9y7X2Try27d+rJbL3rZfpGLa+9nbBPYXv8A4xKBHT+3xNk5fzNj1z8OuPQVHY9X3sK57Oc/6PGq3xWZefWtM6++daYR4orX3HbFa2674rUflpj9hY/MXnubxJWvW75yQcPV131c5Zp9H1PZ+4aPq/yj6//Plyn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A4EgAAADAABwJAAAA6NE68v8HBx033004HlIAAAAASUVORK5CYII=" width="400" /&gt; &lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/80d73fdf-c63e-2e10-79ba-dc8166303960&amp;amp;overridelayout=true"&gt;View Complete Tutorial here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3041834747189015788?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3041834747189015788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3041834747189015788'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/how-to-create-running-total-field-in.html' title='How to Create Running Total Field in Crystal Reports'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5649346924082171204</id><published>2011-05-21T23:30:00.000-07:00</published><updated>2011-05-21T23:31:02.294-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET Crystal Reports'/><category scheme='http://www.blogger.com/atom/ns#' term='Summary Field in Crystal Reports'/><title type='text'>VB.NET Crystal Reports Summary Fields</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;The following C# - Crystal Reports section describes how to add a summary field in the Crystal Reports&lt;br /&gt;In the Crystal Reports designer view window, right click on the Report Footer , just below the Total field and select&lt;span style="color: white;"&gt; &lt;/span&gt;&lt;span style="color: blue;"&gt;  Insert -&amp;gt; Summary&lt;/span&gt;&lt;span style="color: white;"&gt;   .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbs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vdzutffer1Nx7nj3Zi+8XTXIuwCbuY/MS1WP8orivY4iP29b/1PK5sn928Vnb3whqbhX/dHmcTGrVWf41Cph0Vf4t27s9R7tBxnrYLPB+Xa1EOYryv8CsrOpOJe6qr/X9pOdl6XovFlR6bDf9dXWARx5zVJwJOo92sM/pHHDt6nKd1gedj5bUadfc97nSHXuFaMa52GUV7WeJCHIsO2U0Lt0cLR7CS/nupUQvHyWs1yqfw5z4x81rI8EqX+b3BfR7C5xes/swYMUfwpZJd1pDzq+jAj8cxPGF6Zj90XqadcpwcK6819Z66mdeqxFW68/50HqluTzPGjvulnO8Nx7Wm9JRKXssamzc7aQ5T9e9vL2DRvftlRGuzj5XXmnpP/fQzhL8wrn9Zmkg+Vl5rSk85/b6WdZ/wrnzRK+wZZAX7WHmtqffUf3lfi57gM2Pa41NOGrVocq1vyo/va/2S4/o3euHZFMSX5rWmfokeuRZbKSXpLXZi67H8Us8b7fzcS/74urzWlEvkqnUI6YNpxuZTnnmtL+pXrkNYWK8vb/dttd0wir/STvnqn7v+k2t9UWzUUuPm7hwkdhoWYP9RTp3dzGt9UT+05jsTOQeR39fKu+A453te/2Et+JnX+qLc+32tB79CcpVccQozr/VFvdP3tYwO+vy51/RLv8Flc631sczo2+d9rU18cahw6mOwjQ/Cr4+Ytnj+S+GP2q6W3t/XUt/aGUXuPDCR19reGhR9sc86hJsC2ZuLmY8/OY8XI8WhbcfU4xlpH5dzA/Pce39fK9fJhTh/5FtbKpZu2hfnWltYkUatnGuxX7d4SxbRNirSqCDbvkM8G68Ve2mx3fI10syRYnBpOdqKTzzrimeH72vVjzZZBG6U/pp2c11VVwjnWiy0JGplea31Vz7OSYuFWi1rY/D4IbHuBch1L9JWal2NrG85p8YC+xgG0cW4drQePqZko95eXosNTJW3tmSbthzbBde/NWYGakfOtdZr+wcRQga0zMOdgQAAAABJRU5ErkJggg==" /&gt;&lt;br /&gt;Then you will get a screen , select the Total from the combo box and  select Sum from next Combo Box , and summary location Grand Total  (Report Footer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EwYd/M+3LXobHbpuQLMTKv1iU6n1K5VlUbbpeRm5zNDY4/D/kOQZtvuxlrOObQFZegOAn8WGV8XrG+Nvvy/A+xSf6h8P/Z66q4zaX9jJAEPxzvLmXAYfD/5LnGLS5n5cBguAn8XJehjqOjo5+LV31zusyQBD8c8TLgMPhp3mOQRu8DBAEPV7Oy4DD4dflqqzLAEFwAm/uZbgQ7YcM+ofD4VM8x6DNpb2MdbijGPcAguAkXs7LUMcf6IvyKGUM+hGRJ46L3tVFhOv587rqnddlLAMdRtWDSBKRjKqacTyGn0GR9Ln+/6sr+X/jX3gZ/wBt+tffQlsT5wAAAABJRU5ErkJggg==" /&gt;&lt;br /&gt;Now you can see @Total is just below the Total field in the report Footer&lt;br /&gt;&lt;img alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAByCAIAAAANoWJtAAAMLElEQVR4nO1dS0xbVxo+u6ibqp0FGVUhiojaKGlHWVhIrRq1XUQjVRq1apVK05SZjmZxNyFQXuERN+RhaFyS8ujqbIDg+Bo7LBhLbVqD7UzAZdHfKrHBNiNBnKiqUjs0BQzcrM4sDr6+XF8/jn1tk+p8ik4+f/c///nO52tLBq4vIhwlA6q0gT8yeLglBA+3hODhlhA83BKCh1tC8HBLCB5uCcEc7p+SKLigPNgLNpjDjcVisVgMoYwTEUK0pjhjxSKnzzKgwLWzh1uoGf3xTIb7yy+/FHAoC/6shZxTchYUZkYv7JWz7OckEEIyzz4l51lZ8dfQruUPJFEpNyRDIunGDhw4gBBSKaqayod78OBByg4ePBhNQhYrYCgtEU1j0WgUIRSNRrPUVD7c5eXldCsVtJW+dCZjSi7vQqlXPtwUQ+hwEs9cuISQdPN7K9wlBSpmqKBwX375Zdn5Hgr3yJEj6VZksfwoLFyZHzlyZA+Fu7i4SNni4uLRJGSxAobSEslkDCF09OhRVc3i4uIeClf5IJhEzmmvvvpqAYfygebqmsZUivxQFoPBYJFmigT6S1ZknKb3x9/sNgpGhT/+/pQV6ROOHz9+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HAEIaRQKD4PbJCz4+/Qz4J44BQP/J2fbNQP+ID4vVJ9XhkyAfYF/D6JJ8PvOsS1TGGIR/4fESl+3zSp0Mg1MOnQ2AQdunedUmzXlOnHurrrfT15JMqcebq1QiAnBm+9zV+emb4HsZwZvje1z8oOIv++hn419fw+hkwCEX1UerDcE+vneYPPcPF8PSz4XsYng4P3yuG02TpqFfPH+CpXjvNH7qFOz9PxubndRn/2jrfOjZPR716js3P67XT/MF/E1FC8HBLCB5uCfF/5WUQa2Xi7j0AAAAASUVORK5CYII=" /&gt; &lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: white;"&gt;Now the designing part is over and the next step  is to call the Crystal Reports in C# and view it in Crystal Reports  Viewer control .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: white;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="justify" style="color: white; font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;   Select the default form (Form1.cs) you created in C# and drag a button and a CrystalReportViewer control to your form .&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: white;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="justify" style="color: white; font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;   You have to include &lt;b&gt;  CrystalDecisions.CrystalReports.Engine&lt;/b&gt;    in your C# Source Code.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: white;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="justify" style="color: white; font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;i&gt;&lt;b&gt;  using CrystalDecisions.CrystalReports.Engine;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;  &lt;/div&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: white;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="justify" style="color: white;"&gt;&lt;span style="font-family: inherit;"&gt;   &lt;/span&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;&lt;i&gt;&lt;b&gt;  using CrystalDecisions.Shared;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;  &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5649346924082171204?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5649346924082171204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5649346924082171204'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/vbnet-crystal-reports-summary-fields.html' title='VB.NET Crystal Reports Summary Fields'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3506165329612197523</id><published>2011-05-21T23:21:00.000-07:00</published><updated>2011-05-21T23:23:36.111-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft VB.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Login Page'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>How to create a login page in Aspnet with sqlserver</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;First we have to create a database for storing the login information&lt;br /&gt;&lt;br /&gt;Open the Sqlserver Management studio&lt;br /&gt;&lt;br /&gt;Create a new database and change the database name as db_Logininformation&lt;br /&gt;&lt;br /&gt;Create a New table in that database(db_Logininformation) and change the table name as tab_userinformation&lt;br /&gt;Now, create the following fields&lt;br /&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="http://taanu51.blogspot.com/2011/02/how-to-create-login-page-in-aspnet-with.html#"&gt;&lt;/a&gt;&lt;a href="http://taanu51.blogspot.com/2011/02/how-to-create-login-page-in-aspnet-with.html#"&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-cpp" style="background-color: #9fc5e8; color: black;"&gt;&lt;li class="alt"&gt;&lt;i&gt;UserID&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="datatypes"&gt;int&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PrimaryKey&amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;i&gt;username&amp;nbsp;varchar(50)&amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;i&gt;Password&amp;nbsp;varchar(50)&lt;/i&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;Next, Enter the some usernames and paasword directlu in the database for checking purpose&lt;br /&gt;&lt;br /&gt;and save the table&lt;br /&gt;&lt;br /&gt;Next ,open the Microsoft visual studio 2008&lt;br /&gt;&lt;br /&gt;Next,select the Aspnet web application and change the name as LoginPage&lt;br /&gt;&lt;br /&gt;Next,come to the design page of LoginPage and drag and drop two labels,two textboxes and button&lt;br /&gt;&lt;br /&gt;next,come to the code page of the Login.aspx.cs&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;Write the following codein the page event&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="dp-highlighter" style="background-color: #cfe2f3; color: black;"&gt;&lt;ol class="dp-cpp"&gt;&lt;li class="alt" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&lt;span class="keyword"&gt;protected&lt;/span&gt;&amp;nbsp;&lt;span class="keyword"&gt;void&lt;/span&gt;&amp;nbsp;Button1_Click(object&amp;nbsp;sender,&amp;nbsp;EventArgs&amp;nbsp;e)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="alt" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;con&amp;nbsp;=&amp;nbsp;&lt;span class="keyword"&gt;new&lt;/span&gt;&amp;nbsp;SqlConnection(ConfigurationManager.ConnectionStrings[&lt;span class="string"&gt;"connectionstring"&lt;/span&gt;].ToString());&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;con.Open();&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="alt" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;com&amp;nbsp;=&amp;nbsp;&lt;span class="keyword"&gt;new&lt;/span&gt;&amp;nbsp;SqlCommand(&lt;span class="string"&gt;"select&amp;nbsp;Password&amp;nbsp;from&amp;nbsp;userinformation&amp;nbsp;where&amp;nbsp;Username='"&lt;/span&gt;&amp;nbsp;+&amp;nbsp;txt_uname.Text&amp;nbsp;+&amp;nbsp;&lt;span class="string"&gt;"'"&lt;/span&gt;,&amp;nbsp;con);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;dr&amp;nbsp;=&amp;nbsp;com.ExecuteReader();&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="alt" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;if&lt;/span&gt;&amp;nbsp;(!dr.Read())&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="alt" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Response.write(&lt;span class="string"&gt;"Invalid&amp;nbsp;User"&lt;/span&gt;);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="alt" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;else&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="alt" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;if&lt;/span&gt;&amp;nbsp;(dr[0].ToString()&amp;nbsp;==&amp;nbsp;txt_pwd.Text)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="alt" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Response.Redirect(&lt;span class="string"&gt;"~/mainPage.aspx"&lt;/span&gt;);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="alt" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;else&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="alt" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Response.write(&lt;span class="string"&gt;"Wrong&amp;nbsp;Password"&lt;/span&gt;);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;txt_pwd.Focus();&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="alt" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class="alt" style="font-family: inherit;"&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;i&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp; &lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3506165329612197523?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3506165329612197523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3506165329612197523'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/how-to-create-login-page-in-aspnet-with.html' title='How to create a login page in Aspnet with sqlserver'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-2536100234449702659</id><published>2011-05-21T23:10:00.000-07:00</published><updated>2011-05-21T23:17:22.531-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft VB.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Cookies'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Session'/><title type='text'>How to Create ASP.NET Session Login Without Cookies</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: inherit; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;The following describes the easiest way I have found to force users to log into an &lt;/span&gt;&lt;span class="search-highlight" style="font-size: small;"&gt;ASP.NET&lt;/span&gt;&lt;span style="font-size: small;"&gt; website for each session but not require them to accept cookies. You must do the following things.  &lt;/span&gt;&lt;/div&gt;&lt;ol style="font-family: inherit; text-align: left;"&gt;&lt;li&gt;&lt;span class="search-highlight" style="font-size: small;"&gt;Create&lt;/span&gt;&lt;span style="font-size: small;"&gt; a &lt;i&gt;Web.config&lt;/i&gt; file with the appropriate entries to allow session state management.  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="search-highlight" style="font-size: small;"&gt;Create&lt;/span&gt;&lt;span style="font-size: small;"&gt; a well formed &lt;i&gt;Global.asax&lt;/i&gt; file with the code below included in it.  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="search-highlight" style="font-size: small;"&gt;Create&lt;/span&gt;&lt;span style="font-size: small;"&gt; a &lt;/span&gt;&lt;span class="search-highlight" style="font-size: small;"&gt;login&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span class="search-highlight" style="font-size: small;"&gt;page&lt;/span&gt;&lt;span style="font-size: small;"&gt; to authenticate users against a database or whatever method you desire. &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;pre id="pre0" lang="vb.net" style="font-family: inherit; margin-top: 0pt;"&gt;&lt;span class="code-comment" style="font-size: small;"&gt;'&lt;/span&gt;&lt;span class="code-comment" style="font-size: small;"&gt; Fires when the session is started and sets the default loggedin state to ""&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;Sub&lt;/span&gt;&lt;span style="font-size: small;"&gt; Session_Start(&lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;ByVal&lt;/span&gt;&lt;span style="font-size: small;"&gt; sender &lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;As&lt;/span&gt;&lt;span style="font-size: small;"&gt; Object, &lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;ByVal&lt;/span&gt;&lt;span style="font-size: small;"&gt; e &lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;As&lt;/span&gt;&lt;span style="font-size: small;"&gt; EventArgs)&lt;br /&gt;Session(&lt;/span&gt;&lt;span class="code-string" style="font-size: small;"&gt;"&lt;/span&gt;&lt;span class="code-string" style="font-size: small;"&gt;Loggedin"&lt;/span&gt;&lt;span style="font-size: small;"&gt;) = &lt;/span&gt;&lt;span class="code-string" style="font-size: small;"&gt;"&lt;/span&gt;&lt;span class="code-string" style="font-size: small;"&gt;"&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;CheckLoggedIn()&lt;br /&gt;&lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;End&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;Sub&lt;/span&gt;&lt;/pre&gt;&lt;div class="small-text align-right" id="premain1" style="display: block; font-family: inherit; text-align: left;" width="100%"&gt;&lt;span style="font-size: small;"&gt;&lt;img height="9" id="preimg1" src="http://www.codeproject.com/images/minus.gif" style="cursor: pointer;" width="9" /&gt;&lt;/span&gt;&lt;span id="precollapse1" style="cursor: pointer; font-size: small; margin-bottom: 0pt;"&gt; Collapse&lt;/span&gt;&lt;/div&gt;&lt;pre id="pre1" lang="vb.net" style="font-family: inherit; margin-top: 0pt;"&gt;&lt;span class="code-comment" style="font-size: small;"&gt;'&lt;/span&gt;&lt;span class="code-comment" style="font-size: small;"&gt; Called when the request has been process by the Request Handler and &lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="code-comment" style="font-size: small;"&gt;'&lt;/span&gt;&lt;span class="code-comment" style="font-size: small;"&gt; HttpSessionState is available [This is the key piece of code that forces &lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="code-comment" style="font-size: small;"&gt;'&lt;/span&gt;&lt;span class="code-comment" style="font-size: small;"&gt; the user is &lt;span class="search-highlight"&gt;login&lt;/span&gt; check with each &lt;span class="search-highlight"&gt;page&lt;/span&gt; request]&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;Sub&lt;/span&gt;&lt;span style="font-size: small;"&gt; Application_OnPostRequestHandlerExecute()&lt;br /&gt;CheckLoggedIn()&lt;br /&gt;&lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;End&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;Sub&lt;/span&gt;&lt;/pre&gt;&lt;div class="small-text align-right" id="premain2" style="display: block; font-family: inherit; text-align: left;" width="100%"&gt;&lt;span style="font-size: small;"&gt;&lt;img height="9" id="preimg2" src="http://www.codeproject.com/images/minus.gif" style="cursor: pointer;" width="9" /&gt;&lt;/span&gt;&lt;span id="precollapse2" style="cursor: pointer; font-size: small; margin-bottom: 0pt;"&gt; Collapse&lt;/span&gt;&lt;/div&gt;&lt;pre id="pre2" lang="vb.net" style="font-family: inherit; margin-top: 0pt;"&gt;&lt;span class="code-comment" style="font-size: small;"&gt;'&lt;/span&gt;&lt;span class="code-comment" style="font-size: small;"&gt;Check that the user is logged in.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;Sub&lt;/span&gt;&lt;span style="font-size: small;"&gt; CheckLoggedIn()&lt;br /&gt;&lt;/span&gt;&lt;span class="code-comment" style="font-size: small;"&gt;'&lt;/span&gt;&lt;span class="code-comment" style="font-size: small;"&gt;If the user is not logged in and you are not currently on the &lt;span class="search-highlight"&gt;Login&lt;/span&gt; &lt;span class="search-highlight"&gt;Page&lt;/span&gt;.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;If&lt;/span&gt;&lt;span style="font-size: small;"&gt; Session(&lt;/span&gt;&lt;span class="code-string" style="font-size: small;"&gt;"&lt;/span&gt;&lt;span class="code-string" style="font-size: small;"&gt;LoggedIn"&lt;/span&gt;&lt;span style="font-size: small;"&gt;) = &lt;/span&gt;&lt;span class="code-string" style="font-size: small;"&gt;"&lt;/span&gt;&lt;span class="code-string" style="font-size: small;"&gt;"&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;And&lt;/span&gt;&lt;span style="font-size: small;"&gt; InStr(Request.RawUrl, &lt;/span&gt;&lt;span class="code-string" style="font-size: small;"&gt;"&lt;/span&gt;&lt;span class="code-string" style="font-size: small;"&gt;&lt;span class="search-highlight"&gt;Login&lt;/span&gt;.aspx"&lt;/span&gt;&lt;span style="font-size: small;"&gt;) = &lt;/span&gt;&lt;span class="code-digit" style="font-size: small;"&gt;0&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;Then&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;Response.Redirect(&lt;/span&gt;&lt;span class="code-string" style="font-size: small;"&gt;"&lt;/span&gt;&lt;span class="code-string" style="font-size: small;"&gt;~/&lt;span class="search-highlight"&gt;Login&lt;/span&gt;/&lt;span class="search-highlight"&gt;Login&lt;/span&gt;.aspx"&lt;/span&gt;&lt;span style="font-size: small;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;End&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;If&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;End&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span class="code-keyword" style="font-size: small;"&gt;Sub&lt;/span&gt;&lt;/pre&gt;&lt;div style="font-family: inherit; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;Finally &lt;/span&gt;&lt;span class="search-highlight" style="font-size: small;"&gt;create&lt;/span&gt;&lt;span style="font-size: small;"&gt; a&lt;i&gt; &lt;span class="search-highlight"&gt;Login&lt;/span&gt;.aspx&lt;/i&gt; file that authenticates the user. If the user is allowed in, set: &lt;code&gt;Session(&lt;span class="code-string"&gt;"&lt;/span&gt;&lt;span class="code-string"&gt;Loggedin"&lt;/span&gt;) = &lt;span class="code-string"&gt;"&lt;/span&gt;&lt;span class="code-string"&gt;Yes"&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;That's all there is to it. Hope this helps! Enjoy!&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-2536100234449702659?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2536100234449702659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2536100234449702659'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/how-to-create-aspnet-session-login.html' title='How to Create ASP.NET Session Login Without Cookies'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-1365993881265215329</id><published>2011-05-21T23:02:00.000-07:00</published><updated>2011-05-21T23:08:25.955-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft VB.net'/><category scheme='http://www.blogger.com/atom/ns#' term='How to Create Login Page with ASP'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Create Login Page with ASP Connected to Database</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="color: white; font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&amp;lt;%&lt;br /&gt;dim username, password, loginButton&lt;br /&gt;username=TRIM(Request("username"))&lt;br /&gt;password=TRIM(Request("password"))&lt;br /&gt;logButton=Request("loginButton")="Login"&lt;br /&gt;if logButton then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Dim Con, sql, rec&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;set Con = Server.CreateObject("ADODB.Connection")&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Con.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &amp;amp; Server.MapPath("database.mdb")&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Select the record matching the username.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;sql = "SELECT * FROM tblusers WHERE UCase(username)=' &lt;br /&gt;"&amp;amp; UCase(username) &amp;amp; "' AND UCase(password)=' " &amp;amp; UCase(password) &amp;amp; " ' "&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;set rec=Con.execute(sql)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;'If no match found, EOF is not true.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if NOT rec.EOF then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Response.Redirect("somepage.asp") 'Change to page redirect to after login&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;blankError="Invalid username." 'EOF is true, no match found.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;br /&gt;end if&lt;br /&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: white; font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Login&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;form name="productForm" method="post" action="&amp;lt;%=Request.ServerVariables("URL")%&amp;gt;"&amp;gt;&lt;br /&gt;&amp;lt;center&amp;gt;&lt;br /&gt;&amp;lt;table border =1&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&amp;lt;td colspan="2"&amp;gt;&lt;br /&gt;&amp;lt;%&lt;br /&gt;&lt;br /&gt;if blankError&amp;lt;&amp;gt;"" then&lt;br /&gt;Response.Write("&amp;lt;center&amp;gt;&amp;lt;font color='red' size='3'&amp;gt;"&amp;amp;blankError&amp;amp;"&amp;lt;/font&amp;gt;&amp;lt;/center&amp;gt;")&lt;br /&gt;end if&lt;br /&gt;%&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&amp;lt;Strong&amp;gt;&amp;lt;font face="courier new" size="3"&amp;gt;Username:&amp;lt;/font&amp;gt;&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&amp;lt;input type="text" name="username" size="35"&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&amp;lt;Strong&amp;gt;&amp;lt;font face="courier new" size="3"&amp;gt;Password&amp;lt;/font&amp;gt;&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&amp;lt;input type="password" name="password" size="35"&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&amp;lt;td colspan="2" align="center"&amp;gt;&amp;lt;input type="submit" name="loginButton" value="Login"&amp;gt;&lt;br /&gt;&amp;lt;input type="reset" name="reset" value="Clear"&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;/center&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt; &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-1365993881265215329?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1365993881265215329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1365993881265215329'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/create-login-page-with-asp-connected-to.html' title='Create Login Page with ASP Connected to Database'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-533247681039709886</id><published>2011-05-06T07:21:00.000-07:00</published><updated>2011-05-06T07:21:03.668-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java.lang.OutOfMemoryError'/><category scheme='http://www.blogger.com/atom/ns#' term='PermGen space error.'/><title type='text'>Fixing the java.lang.OutOfMemoryError: PermGen space error.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;h2&gt;&lt;span style="font-size: small;"&gt;Fixing the  java.lang.OutOfMemoryError: PermGen space error.&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size: small;"&gt;  &lt;/span&gt;&lt;span style="font-size: small;"&gt;Start your JVM with &lt;code&gt;-XX:MaxPermSize=XXXm&lt;/code&gt; where XXX is a number like 128, 256.  This will allow the JVM to allocate XXX megabytes of memory for the PermGen space if that space is needed.  Here are the quick guides to configuring memory options for some  popular containers.  If you still have issues see my other posts about  tracking down your possible memory leaks.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-533247681039709886?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/533247681039709886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/533247681039709886'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/fixing-javalangoutofmemoryerror-permgen.html' title='Fixing the java.lang.OutOfMemoryError: PermGen space error.'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-695852858110427937</id><published>2011-05-06T07:20:00.000-07:00</published><updated>2011-05-06T07:20:00.123-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java.lang.OutOfMemoryError'/><category scheme='http://www.blogger.com/atom/ns#' term='PermGen space'/><title type='text'>Explaining java.lang.OutOfMemoryError: PermGen space</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Most probably, a lot of Java developers have seen OutOfMemory error  one time or other. However these errors come in different forms and  shapes. The more common is: "Exception in thread "main"  java.lang.OutOfMemoryError: Java heap space" and indicates that the Heap  utilization has exceeded the value set by -Xmx. This is not the only  error message, of this type, however.&lt;br /&gt;One more interesting flavor of the same error message, less common  but hence even more troublesome is: "java.lang.OutOfMemoryError: PermGen  space". Most of the memory profiler tools are unable to detect this  problem, so it is&lt;br /&gt;even more troublesome and therefor - interesting. &lt;br /&gt;To understand this error message and fix it, we have to remember  that, for optimized, more efficient garbage-collecting Java Heap is  managed in generations - memory segments holding objects of different  ages. Garbage collection algorithms in each generation are different.  Objects are allocated in a generation for younger objects - the Young  Generation, and because of infant mortality most objects die there. When  the young generation fills up it causes a Minor Collection. Assuming  high infant mortality, minor collections are garbage-collected  frequently. Some surviving objects are moved to a Tenured Generation.  When the Tenured Generation needs to be collected there is a Major  Collection that is often much slower because it involves all live  objects. Each generation contains variables of different length of life  and different GC policies are applied to them.&lt;br /&gt;There is a third generation too - Permanent Generation. The permanent  generation is special because it holds meta-data describing user  classes (classes that are not part of the Java language). Examples of  such meta-data are objects describing&lt;br /&gt;classes and methods and they are stored in the Permanent Generation.  Applications with large code-base can quickly fill up this segment of  the heap which will cause java.lang.OutOfMemoryError: PermGen no matter  how high your -Xmx and how much memory you have on the machine.&lt;br /&gt;Sun JVMs allow you to resize the different generations of the heap,  including the permanent generation. On a Sun JVM (1.3.1 and above) you  can configure the initial permanent generation size and the maximum  permanent generation size.&lt;br /&gt;&lt;br /&gt;To set a new initial size on Sun JVM use the &lt;b&gt;-XX:PermSize=64m&lt;/b&gt; option when starting the virtual machine. To set the maximum permanent generation size use &lt;b&gt;-XX:MaxPermSize=128m&lt;/b&gt;  option. If you set the initial size and maximum size to equal values  you may be able to avoid some full garbage collections that may occur  if/when the permanent generation needs to be resized. The default values  differ from among different versions but for Sun JVMs upper limit is  typically 64MB. &lt;br /&gt;Some of the default values for Sun JVMs are listed below.&lt;br /&gt;&lt;table border="1" style="color: black;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;th&gt; JDK 1.3.1_06 &lt;/th&gt; &lt;th&gt; Initial Size &lt;/th&gt; &lt;th&gt; Maximum Size&lt;/th&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td class="black"&gt; Client JVM     &lt;/td&gt; &lt;td&gt; 1MB           &lt;/td&gt; &lt;td&gt;  32MB&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt; Server JVM     &lt;/td&gt; &lt;td&gt; 1MB           &lt;/td&gt; &lt;td&gt;  64MB&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt; &lt;/table&gt;&lt;table border="1" style="color: black;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;th&gt; JDK 1.4.1_01 &lt;/th&gt; &lt;th&gt; Initial Size &lt;/th&gt; &lt;th&gt; Maximum Size&lt;/th&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt; Client JVM     &lt;/td&gt; &lt;td&gt; 4MB           &lt;/td&gt; &lt;td&gt;  64MB&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt; Server JVM     &lt;/td&gt; &lt;td&gt; 4MB           &lt;/td&gt; &lt;td&gt;  64MB&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt; &lt;/table&gt;&lt;table border="1" style="color: black;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;th&gt; JDK 1.4.2 &lt;/th&gt; &lt;th&gt; Initial Size &lt;/th&gt; &lt;th&gt; Maximum Size&lt;/th&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt; Client JVM     &lt;/td&gt; &lt;td&gt; 4MB           &lt;/td&gt; &lt;td&gt;  64MB&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt; Server JVM     &lt;/td&gt; &lt;td&gt; 16MB          &lt;/td&gt; &lt;td&gt;  64MB&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-695852858110427937?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/695852858110427937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/695852858110427937'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/explaining-javalangoutofmemoryerror.html' title='Explaining java.lang.OutOfMemoryError: PermGen space'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7951696101687911399</id><published>2011-05-06T07:19:00.000-07:00</published><updated>2011-05-06T07:19:07.388-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java JVM GC'/><category scheme='http://www.blogger.com/atom/ns#' term='PermGen'/><category scheme='http://www.blogger.com/atom/ns#' term='Memory Options'/><title type='text'>Java JVM GC, PermGen, and Memory Options</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;when I ran into a situation with some code where we were running out of  PermGen space I had to do some reading.  In the JVM, PermGen holds the  metadata about classes that have been loaded/created.  This information  is garbage collected like the other parts of the heap, however there are  rough edges that can prevent this from happening, class loaders in  particular (which I won’t discuss here.)  Generally, the amount of  PermGen space needed is small in relation to the rest of the heap and  default JVM values should work for you.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7951696101687911399?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7951696101687911399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7951696101687911399'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/java-jvm-gc-permgen-and-memory-options.html' title='Java JVM GC, PermGen, and Memory Options'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-8463133365356155580</id><published>2011-05-06T07:17:00.000-07:00</published><updated>2011-05-06T07:17:39.666-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java.sql.SQLException'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='Exhausted Resultset'/><title type='text'>Java Exhausted Result Set / Oracle &amp; Websphere 5.1|java.sql.SQLException: Exhausted Resultset</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;I am experiencing some problems with a simple query on a thin oracle  driver. I am using a connection from the application server connection  pool on a cluster machine. Basically this is my code:&lt;br /&gt;&lt;br /&gt;try {&lt;br /&gt;conn = DAOFactory.getConnection();&lt;br /&gt;stmt = conn.prepareStatement(SELECT_STATEMENT);&lt;br /&gt;stmt.setInt(1, var);&lt;br /&gt;stmt.setFetchSize(max);&lt;br /&gt;rs = stmt.executeQuery();&lt;br /&gt;&lt;br /&gt;while( rs.next() ) {&lt;br /&gt;long id = rs.getLong(1);&lt;br /&gt;}  &lt;br /&gt;&lt;br /&gt;All this I incorporate into a try/catch block like this:&lt;br /&gt;&lt;br /&gt;} catch(SQLException e) {&lt;br /&gt;// some exception handling&lt;br /&gt;} finally {&lt;br /&gt;try {&lt;br /&gt;if(stmt!=null)&lt;br /&gt;stmt.close();&lt;br /&gt;if(rs!=null)&lt;br /&gt;rs.close();&lt;br /&gt;if(conn!=null)&lt;br /&gt;conn.close();&lt;br /&gt;} catch (SQLException e1) {&lt;br /&gt;// some exception handling&lt;br /&gt;}  &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;After  some runs I get sporadically the “Exhausted Resultset” Exception at  line rs.getLong(1). This indicates, that my result set is closed. This  will imply that rs.next() returns true even if there are no results!  This kind of strange behaviour I have already noticed by some other  users.&lt;br /&gt;&lt;br /&gt;My question: How can I ensure that rs.next() will return  false if the result set is empty? Does anybody else encounter this  problem before and have a smooth solution?&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-8463133365356155580?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8463133365356155580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8463133365356155580'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/05/java-exhausted-result-set-oracle.html' title='Java Exhausted Result Set / Oracle &amp; Websphere 5.1|java.sql.SQLException: Exhausted Resultset'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-1729725308021978452</id><published>2011-04-30T00:58:00.003-07:00</published><updated>2011-04-30T00:58:46.501-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ArrayList'/><title type='text'>How to sort list in reverse order</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;To sort the elements of the List in the reverse natural order of the strings, get a reverse Comparator from the Collections class with reverseOrder(). Then, pass the reverse Comparator to the sort() method.&amp;nbsp; &lt;br /&gt;List list = new ArrayList();&amp;nbsp; &lt;br /&gt;Comparator comp = Collections.reverseOrder(); &lt;br /&gt;Collections.sort(list, comp)&amp;nbsp; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-1729725308021978452?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1729725308021978452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1729725308021978452'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/how-to-sort-list-in-reverse-order.html' title='How to sort list in reverse order'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-8643381450130715743</id><published>2011-04-30T00:58:00.001-07:00</published><updated>2011-04-30T00:58:16.849-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ArrayList'/><category scheme='http://www.blogger.com/atom/ns#' term='Arrays'/><title type='text'>What is difference between Arrays and ArrayList?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Arrays are created of fix size whereas ArrayList is of not fix size. It means that once array is declared as :&amp;nbsp; &lt;br /&gt;int [] intArray= new int[6];&amp;nbsp; &lt;br /&gt;intArray[7]&amp;nbsp;&amp;nbsp; // will give ArraysOutOfBoundException.&amp;nbsp; &lt;br /&gt;Also the size of array cannot be incremented or decremented. But with arrayList the size is variable. &lt;br /&gt;Once the array is created elements cannot be added or deleted from it. But with ArrayList the elements can be added and deleted at runtime.&amp;nbsp; &lt;br /&gt;List list = new ArrayList(); &lt;br /&gt;list.add(1); &lt;br /&gt;list.add(3); &lt;br /&gt;list.remove(0) // will remove the element from the 1st location. &lt;br /&gt;ArrayList is one dimensional but array can be multidimensional.&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int[][][] intArray= new int[3][2][1];&amp;nbsp;&amp;nbsp; // 3 dimensional array&amp;nbsp; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-8643381450130715743?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8643381450130715743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8643381450130715743'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/what-is-difference-between-arrays-and.html' title='What is difference between Arrays and ArrayList?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-2540972861651530052</id><published>2011-04-30T00:57:00.002-07:00</published><updated>2011-04-30T00:57:41.024-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HashMap'/><category scheme='http://www.blogger.com/atom/ns#' term='Hashtable'/><title type='text'>What is difference between HashMap and HashTable?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Both collections implements Map. Both collections store value as key-value pairs. The key differences between the two are &lt;br /&gt;1. Access to the Hashtable is synchronized on the table while access to the HashMap isn't. You can add it, but it isn't there by default. &lt;br /&gt;2. Another difference is that iterator in the HashMap is fail-safe while the enumerator for the Hashtable isn't. If you change the map while iterating, you'll know. • Fail-safe - “if the Hashtable is structurally modified at any time after the iterator is created, in any way except through the iterator's own remove method, the iterator will throw a ConcurrentModificationException” &lt;br /&gt;3. HashMap permits null values and only one null key, while Hashtable doesn't allow key or value as null. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-2540972861651530052?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2540972861651530052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2540972861651530052'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/what-is-difference-between-hashmap-and.html' title='What is difference between HashMap and HashTable?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-8545979225008508943</id><published>2011-04-30T00:57:00.000-07:00</published><updated>2011-04-30T00:57:09.666-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ArrayList'/><title type='text'>How can Arraylist be synchronized without using Vector?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&amp;nbsp;Arraylist can be synchronized using:&amp;nbsp; &lt;br /&gt;• Collection.synchronizedList(List list)&amp;nbsp; &lt;br /&gt;Other collections can be synchronized:&amp;nbsp; &lt;br /&gt;• Collection.synchronizedMap(Map map)&amp;nbsp; &lt;br /&gt;• Collection.synchronizedCollection(Collection c)&amp;nbsp; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-8545979225008508943?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8545979225008508943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8545979225008508943'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/how-can-arraylist-be-synchronized.html' title='How can Arraylist be synchronized without using Vector?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7095801035306855585</id><published>2011-04-30T00:56:00.000-07:00</published><updated>2011-04-30T00:56:27.065-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Vector'/><category scheme='http://www.blogger.com/atom/ns#' term='ArrayList'/><title type='text'>What is difference between ArrayList and vector?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Synchronization&lt;/b&gt; - ArrayList is not thread-safe whereas Vector is thread-safe. In Vector class each method like add(), get(int i) is surrounded with a synchronized block and thus making Vector class thread-safe.&amp;nbsp;&lt;br /&gt;&lt;b&gt;Data growth&lt;/b&gt; - Internally, both the ArrayList and Vector hold onto their contents using an Array. When an element is inserted into an ArrayList or a Vector, the object will need to expand its internal array if it runs out of room. A Vector defaults to doubling the size of its array, while the ArrayList increases its array size by 50 percent.&amp;nbsp; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7095801035306855585?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7095801035306855585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7095801035306855585'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/what-is-difference-between-arraylist.html' title='What is difference between ArrayList and vector?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-1752235346208660419</id><published>2011-04-30T00:54:00.000-07:00</published><updated>2011-04-30T00:54:13.615-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='WHERE CURRENT OF'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='FOR UPDATE'/><title type='text'>Oracle PL/SQL WHERE CURRENT OF &amp; FOR UPDATE</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;WHERE CURRENT OF&lt;/b&gt; &lt;b&gt;&amp;amp; FOR UPDATE&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The &lt;b&gt;WHERE CURRENT OF&lt;/b&gt; clause is used in some UPDATE and DELETE statements.&lt;br /&gt;&lt;br /&gt;The &lt;b&gt;WHERE CURRENT OF&lt;/b&gt; clause in an UPDATE or DELETE statement  states that the most recent row fetched from the table should be updated  or deleted. We must declare the cursor with the &lt;b&gt;FOR UPDATE&lt;/b&gt; clause to use this feature.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Inside a cursor loop, WHERE CURRENT OF allows the current row to be directly updated.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;When the session opens a cursor with the &lt;b&gt;FOR UPDATE&lt;/b&gt; clause, all  rows in the return set will hold row-level exclusive locks. Other  sessions can only query the rows, but they cannot update, delete, or  select with &lt;b&gt;FOR UPDATE&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;Oracle provides the &lt;b&gt;FOR UPDATE&lt;/b&gt; clause in SQL syntax to allow the developer to lock a set of Oracle rows for the duration of a transaction.&lt;br /&gt;&lt;br /&gt;The syntax of using the &lt;b&gt;WHERE CURRENT OF&lt;/b&gt; clause in UPDATE and DELETE statements follows:&lt;br /&gt;&lt;br /&gt;WHERE [CURRENT OF cursor_name | search_condition]&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-1752235346208660419?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1752235346208660419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1752235346208660419'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/oracle-plsql-where-current-of-for.html' title='Oracle PL/SQL WHERE CURRENT OF &amp; FOR UPDATE'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-6393515005544114382</id><published>2011-04-30T00:49:00.001-07:00</published><updated>2011-04-30T00:49:49.310-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL ROLLUP'/><title type='text'>Oracle PL/SQL: SQL ROLLUP</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;SQL ROLLUP&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You can use &lt;b&gt;WITH ROLLUP&lt;/b&gt; to generate a summary row for each group.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Example 1 of&lt;/b&gt; &lt;b&gt;ROLLUP&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Suppose we have the following table - Sales:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;EmpId&lt;/th&gt;&lt;th&gt;Yr&lt;/th&gt;&lt;th align="right"&gt;Sales&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;2005&lt;/td&gt;&lt;td align="right"&gt;12000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;2006&lt;/td&gt;&lt;td align="right"&gt;18000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;2007&lt;/td&gt;&lt;td align="right"&gt;25000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;2005&lt;/td&gt;&lt;td align="right"&gt;15000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;2006&lt;/td&gt;&lt;td align="right"&gt;6000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;2006&lt;/td&gt;&lt;td align="right"&gt;20000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;2007&lt;/td&gt;&lt;td align="right"&gt;24000.00&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;A simple Group by results in:&lt;br /&gt;&lt;br /&gt;SELECT Yr, SUM(Sales) AS Sales&lt;br /&gt;FROM Sales&lt;br /&gt;GROUP BY Yr&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;Yr&lt;/th&gt;&lt;th align="right"&gt;Sales&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2005&lt;/td&gt;&lt;td align="right"&gt;27000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2006&lt;/td&gt;&lt;td align="right"&gt;44000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2007&lt;/td&gt;&lt;td align="right"&gt;49000.00&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;A simple group by &lt;b&gt;with ROLLUP&lt;/b&gt; results in:&lt;br /&gt;&lt;br /&gt;SELECT Yr, SUM(Sales) AS Sales&lt;br /&gt;FROM Sales&lt;br /&gt;GROUP BY Yr WITH ROLLUP&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;Yr&lt;/th&gt;&lt;th align="right"&gt;Sales&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2005&lt;/td&gt;&lt;td align="right"&gt;27000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2006&lt;/td&gt;&lt;td align="right"&gt;44000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2007&lt;/td&gt;&lt;td align="right"&gt;49000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;NULL&lt;/td&gt;&lt;td align="right"&gt;120000.00&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;Another example of group by with&lt;/b&gt; &lt;b&gt;ROLLUP:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;SELECT EmpId, Yr, SUM(Sales) AS Sales&lt;br /&gt;FROM Sales&lt;br /&gt;GROUP BY EmpId, Yr WITH ROLLUP&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;EmpId&lt;/th&gt;&lt;th&gt;Yr&lt;/th&gt;&lt;th align="right"&gt;Sales&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;2005&lt;/td&gt;&lt;td align="right"&gt;12000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;2006&lt;/td&gt;&lt;td align="right"&gt;18000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;2007&lt;/td&gt;&lt;td align="right"&gt;25000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;NULL&lt;/td&gt;&lt;td align="right"&gt;55000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;2005&lt;/td&gt;&lt;td align="right"&gt;15000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;2006&lt;/td&gt;&lt;td align="right"&gt;6000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;NULL&lt;/td&gt;&lt;td align="right"&gt;21000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;2006&lt;/td&gt;&lt;td align="right"&gt;20000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;2007&lt;/td&gt;&lt;td align="right"&gt;24000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;NULL&lt;/td&gt;&lt;td align="right"&gt;44000.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;NULL&lt;/td&gt;&lt;td&gt;NULL&lt;/td&gt;&lt;td align="right"&gt;120000.00&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-6393515005544114382?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6393515005544114382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6393515005544114382'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/oracle-plsql-sql-rollup.html' title='Oracle PL/SQL: SQL ROLLUP'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-545964440384232829</id><published>2011-04-30T00:45:00.000-07:00</published><updated>2011-04-30T00:46:13.343-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dataset'/><category scheme='http://www.blogger.com/atom/ns#' term='VB.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Datasource'/><title type='text'>Dataset table row count - OLEDB Data Source VB.Net</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;The DataSet contains copy of the data we requested through the SQL  statement. The DataSet consists of DataTableCollection and their  DataRelationCollection. The DataTableCollection contains zero or more  DataTable objects. The data inside Table is in the form of Rows and  Columns . The following VB.NET source code shows how to find the number  of rows in a table that resides in the Dataset from OLEDB Data Source.&lt;br /&gt;&lt;pre&gt;Imports System.Data.OleDb&lt;br /&gt;Public Class Form1&lt;br /&gt;Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)&lt;/pre&gt;&lt;pre&gt;Handles Button1.Click&lt;br /&gt;        Dim connetionString As String&lt;br /&gt;        Dim connection As OleDbConnection&lt;br /&gt;        Dim oledbAdapter As OleDbDataAdapter&lt;br /&gt;        Dim ds As New DataSet&lt;br /&gt;        Dim sql As String&lt;br /&gt;&lt;br /&gt;        connetionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Your mdb filename;"&lt;br /&gt;        sql = "Your SQL Statement Here"&lt;br /&gt;&lt;br /&gt;        connection = New OleDbConnection(connetionString)&lt;br /&gt;        Try&lt;br /&gt;            connection.Open()&lt;br /&gt;            oledbAdapter = New OleDbDataAdapter(sql, connection)&lt;br /&gt;            oledbAdapter.Fill(ds, "OLEDB Temp Table")&lt;br /&gt;            oledbAdapter.Dispose()&lt;br /&gt;            connection.Close()&lt;br /&gt;&lt;br /&gt;            MsgBox("number of Row(s)   -   " &amp;amp; ds.Tables(0).Rows.Count)&lt;br /&gt;&lt;br /&gt;        Catch ex As Exception&lt;br /&gt;            MsgBox("Can not open connection ! ")&lt;br /&gt;        End Try&lt;br /&gt;    End Sub&lt;br /&gt;End Class&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-545964440384232829?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/545964440384232829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/545964440384232829'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/dataset-table-row-count-oledb-data.html' title='Dataset table row count - OLEDB Data Source VB.Net'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5976373971964393506</id><published>2011-04-20T07:26:00.000-07:00</published><updated>2011-04-20T07:26:15.181-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>Using named arguments in JavaScript functions</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Normally, a JavaScript function takes an list of arguments, with the order of  each argument predetermined. As an example, the parseInt() function takes two  arguments, a string representing a number, and the radix of that number. You  need to specify those in exactly that order, first a string, then the number, or  at the very least, just the first argument. However, ponder a function where you  wish to specify only the second argument, or both of them in arbitrary order -  the deficiency of the JavaScript arguments model prohibits this. In this  tutorial, I'll teach you how to modify JavaScript functions to accept named  arguments, with which you can specify in any order, as named arguments don't  rely on order, but instead their name when passing into functions.&lt;br /&gt;JavaScript functions do not natively support naming arguments, so the  simplest way to simulate this functionality is via object literals. Let me  illustrate with a custom &lt;code&gt;parseInt()&lt;/code&gt; function that can accept its  two arguments in any order:&lt;br /&gt;&lt;pre&gt;&lt;b&gt;JavaScript Function with Named Arguments&lt;br /&gt;&lt;/b&gt;// Define function to take one "argument", which is in fact an object:&lt;br /&gt;function fnParseInt( oArg ){ &lt;br /&gt;return parseInt( oArg.number, oArg.radix );&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// Which you then call like this (pass in an object literal):&lt;br /&gt;fnParseInt( { number : 'afy', radix : 36 } );&lt;/pre&gt;The key to the above is passing in an object literal as the function's sole  parameter instead of separate, "authentic" parameter(s). Now, this is a pretty  useless example, but it illustrates my point of creating a function that can  accept arguments in any order and via a more intuitive name:value format. Such  functions are much more robust than standard ones, not to mention user friendly  in cases where the function takes on a lot of parameters. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5976373971964393506?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5976373971964393506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5976373971964393506'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/using-named-arguments-in-javascript.html' title='Using named arguments in JavaScript functions'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7203390259502159271</id><published>2011-04-20T07:24:00.000-07:00</published><updated>2011-04-20T07:24:42.235-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Views in Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='Materialized views in Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Interview Questions'/><title type='text'>Difference between Views &amp; Materialized views in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Difference between Views &amp;amp; Materialized views&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Materialized views&lt;/b&gt; are disk based and update periodically base upon the query definition.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Views&lt;/b&gt; are virtual only and run the query definition each time they are accessed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Views&lt;/b&gt; evaluate the data in the tables underlying the view  definition at the time the view is queried. It is a logical view of your  tables, with no data stored anywhere else. &lt;b&gt;The upside of a view&lt;/b&gt; is that it will always return the latest data to you. &lt;b&gt;The downside of a view&lt;/b&gt;  is that its performance depends on how good a select statement the view  is based on. If the select statement used by the view joins many  tables, or uses joins based on non-indexed columns, the view could  perform poorly.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Materialized views &lt;/b&gt;are similar to regular views, in that they are  a logical view of your data (based on a select statement), however, the  underlying query resultset has been saved to a table. The &lt;b&gt;upside&lt;/b&gt;  of this is that when you query a materialized view, you are querying a  table, which may also be indexed. In addition, because all the joins  have been resolved at materialized view refresh time, you pay the price  of the join once (or as often as you refresh your materialized view),  rather than each time you select from the materialized view. In  addition, with query rewrite enabled, Oracle can optimize a query that  selects from the source of your materialized view in such a way that it  instead reads from your materialized view. In situations where you  create materialized views as forms of aggregate tables, or as copies of  frequently executed queries, this can greatly speed up the response time  of your end user application. The &lt;b&gt;downside&lt;/b&gt; though is that the  data you get back from the materialized view is only as up to date as  the last time the materialized view has been refreshed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Materialized views&lt;/b&gt; can be set to refresh manually, on a set  schedule, or based on the database detecting a change in data from one  of the underlying tables. Materialized views can be incrementally  updated by combining them with materialized view logs, which act as  change data capture sources on the underlying tables.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Materialized views&lt;/b&gt; are most often used in data warehousing /  business intelligence applications where querying large fact tables with  thousands of millions of rows would result in query response times that  resulted in an unusable application&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7203390259502159271?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7203390259502159271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7203390259502159271'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/difference-between-views-materialized.html' title='Difference between Views &amp; Materialized views in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-4158312950244133250</id><published>2011-04-20T07:22:00.000-07:00</published><updated>2011-04-20T07:22:52.873-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='HAVING CLAUSE'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='WHERE CLAUSE'/><title type='text'>Difference between HAVING CLAUSE &amp; WHERE CLAUSE in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;SQL - Difference between HAVING CLAUSE &amp;amp; WHERE CLAUSE&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1. &lt;b&gt;HAVING&lt;/b&gt; specifies a search condition for a group or an aggregate function used in SELECT statement. The &lt;b&gt;WHERE&lt;/b&gt;  clause specifies the criteria which individual records must meet to be  selected by a query. It can be used without the GROUP BY clause. The  HAVING clause cannot be used without the GROUP BY clause.&lt;br /&gt;&lt;br /&gt;2. The &lt;b&gt;WHERE&lt;/b&gt; clause selects rows before grouping. The &lt;b&gt;HAVING&lt;/b&gt; clause selects rows after grouping.&lt;br /&gt;&lt;br /&gt;3. The &lt;b&gt;WHERE&lt;/b&gt; clause cannot contain aggregate functions. The &lt;b&gt;HAVING&lt;/b&gt; clause can contain aggregate functions&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-4158312950244133250?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4158312950244133250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4158312950244133250'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/difference-between-having-clause-where.html' title='Difference between HAVING CLAUSE &amp; WHERE CLAUSE in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3074623817399158785</id><published>2011-04-18T08:21:00.002-07:00</published><updated>2011-04-18T08:21:47.937-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PL/SQL Triggers in Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='Disabling Triggers'/><title type='text'>Disabling Triggers in Oracle PL/SQL</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;b&gt;Disabling Triggers&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To disable or enable a trigger:&lt;br /&gt;&lt;br /&gt;alter trigger &lt;name_of_trigger&gt; {disable | enable};&lt;/name_of_trigger&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3074623817399158785?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3074623817399158785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3074623817399158785'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/disabling-triggers-in-oracle-plsql.html' title='Disabling Triggers in Oracle PL/SQL'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5307202268049642466</id><published>2011-04-18T08:21:00.000-07:00</published><updated>2011-04-18T08:21:05.333-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='Viewing Defined Triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Interview Questions'/><title type='text'>Viewing Defined Triggers in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Viewing Defined&lt;/b&gt;&lt;b&gt; Triggers&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To view all the defined triggers, use:&lt;br /&gt;&lt;br /&gt;select name_of_trigger from user_triggers;&lt;br /&gt;&lt;br /&gt;For more details on a particular trigger:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 85%;"&gt;select trigger_type, triggering_event, table_name, referencing_names, trigger_body&lt;br /&gt;from user_triggers&lt;br /&gt;where trigger_name = '&lt;name_of_trigger&gt;';&lt;/name_of_trigger&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5307202268049642466?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5307202268049642466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5307202268049642466'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/viewing-defined-triggers-in-oracle.html' title='Viewing Defined Triggers in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-347316492569631900</id><published>2011-04-18T08:19:00.001-07:00</published><updated>2011-04-18T08:19:54.912-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='SHOW ERRORS'/><category scheme='http://www.blogger.com/atom/ns#' term='Displaying Trigger Errors'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Interview Questions'/><title type='text'>Displaying Trigger Errors in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Displaying&lt;/b&gt;&lt;b&gt; Trigger Errors&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;If we get a message Warning: Trigger created with compilation errors.  you can check the error messages with:&lt;br /&gt;&lt;br /&gt;Show errors trigger  &lt;trigger_name&gt;;&lt;br /&gt;&lt;br /&gt;You can also type, SHO ERR (SHOW ERRORS) to see the most recent compilation error.&lt;/trigger_name&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-347316492569631900?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/347316492569631900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/347316492569631900'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/displaying-trigger-errors-in-oracle.html' title='Displaying Trigger Errors in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-675236909815238950</id><published>2011-04-18T08:18:00.000-07:00</published><updated>2011-04-18T08:18:38.440-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ROW Trigger'/><category scheme='http://www.blogger.com/atom/ns#' term='system event triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='instead of trigger'/><category scheme='http://www.blogger.com/atom/ns#' term='before trigger'/><category scheme='http://www.blogger.com/atom/ns#' term='Statement trigger'/><category scheme='http://www.blogger.com/atom/ns#' term='user events trigger'/><category scheme='http://www.blogger.com/atom/ns#' term='after trigger'/><category scheme='http://www.blogger.com/atom/ns#' term='Types of Triggers in Oracle'/><title type='text'>Types of Triggers in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Row Triggers and Statement Triggers:&lt;/b&gt; A statement trigger is fired  once on behalf of the triggering statement, regardless of the number of  rows in the table that the triggering statement affects. A row trigger  fires once for each row affected by the triggering event.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;BEFORE and AFTER Triggers:&lt;/b&gt; BEFORE triggers run the trigger action  before the triggering statement is run. AFTER triggers run the trigger  action after the triggering statement is run.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;INSTEAD OF Triggers&lt;/b&gt;: INSTEAD OF triggers describe how to perform  insert, update, and delete operations against views that are too complex  to support these operations natively. INSTEAD OF triggers allow  applications to use a view as the sole interface for all SQL operations  (insert, delete, update and select).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Triggers on System Events and User Events: &lt;/b&gt;You can use triggers  to publish information about database events to subscribers. System  events are for example Database startup and shutdown, Data Guard role  transitions etc and User Events are User logon and logoff, DDL  statements (CREATE, ALTER, and DROP) etc&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-675236909815238950?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/675236909815238950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/675236909815238950'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/types-of-triggers-in-oracle.html' title='Types of Triggers in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-6254726357097154925</id><published>2011-04-18T08:17:00.000-07:00</published><updated>2011-04-18T08:17:05.832-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Trigger example'/><category scheme='http://www.blogger.com/atom/ns#' term='Example of PL/SQL trigger in Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Triggers'/><title type='text'>Example of PL/SQL trigger in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;In the below example line 2 is A triggering event or statement, lines 4-9 are A trigger action.&lt;br /&gt;&lt;br /&gt;Example of creating a trigger based on the following two tables:&lt;br /&gt;&lt;br /&gt;CREATE TABLE T1 (a INTEGER);&lt;br /&gt;CREATE TABLE T2 (b INTEGER);&lt;br /&gt;&lt;br /&gt;We will create a trigger that may insert a tuple into T2 when a tuple is  inserted into T1. The trigger checks if the inserted row in T1 is has a  value less than 5 only then a tuple is inserted in T2.&lt;br /&gt;&lt;br /&gt;1 CREATE TRIGGER tr1&lt;br /&gt;2 AFTER INSERT ON T1&lt;br /&gt;3 REFERENCING NEW AS newRow&lt;br /&gt;4 FOR EACH ROW&lt;br /&gt;5 WHEN (newRow.a &amp;lt;= 5)&lt;br /&gt;6 BEGIN &lt;br /&gt;7 INSERT INTO T2 &lt;br /&gt;VALUES(:newRow.a);&lt;br /&gt;8 END tr1;&lt;br /&gt;9 .&lt;br /&gt;10 run;    &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-6254726357097154925?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6254726357097154925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6254726357097154925'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/example-of-plsql-trigger-in-oracle.html' title='Example of PL/SQL trigger in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-2409715500753406966</id><published>2011-04-18T08:15:00.000-07:00</published><updated>2011-04-18T08:15:55.689-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PL/SQL Triggers in Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Interview Questions'/><title type='text'>PL/SQL Triggers in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;PL/SQL Triggers&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A &lt;b&gt;PL/SQL trigger&lt;/b&gt; is a construct in PL/SQL that runs or  "triggered" on event of changes being made to a table in the database.  The triggering event is a INSERT, UPDATE or DELETE done on a table. The &lt;b&gt;trigger&lt;/b&gt; can be made so it can be "fired" either BEFORE or AFTER the Data Manipulation Language is executed.&lt;br /&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt; A database trigger is a block of code that is automatically executed in response to certain events.&lt;/li&gt;&lt;li&gt; Triggers are executed implicitly whenever the triggering event happens.&lt;/li&gt;&lt;li&gt; The triggering event is an INSERT, DELETE, or UPDATE command.&lt;/li&gt;&lt;li&gt; The timing can be either BEFORE or AFTER, INSTEAD OF trigger.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;    &lt;br /&gt;The &lt;b&gt;trigger&lt;/b&gt; can be either row-level or statement-level, where the  former fires once for each row affected by the triggering statement and  the latter fires once for the whole statement.&lt;br /&gt;&lt;br /&gt;You can write triggers that fire whenever one of the following operations occurs:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;   DML statements (INSERT, UPDATE, DELETE) on a particular table or view, issued by any user&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;DDL statements (CREATE or ALTER primarily) issued either by a particular schema/user or by any schema/user in the database&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Database events, such as logon/logoff, errors, or startup/shutdown,  also issued either by a particular schema/user or by any schema/user in  the database&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;b&gt;A&lt;/b&gt; &lt;b&gt;trigger&lt;/b&gt; &lt;b&gt;has three basic parts&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;A triggering event or statement&lt;/li&gt;&lt;li&gt;A trigger restriction&lt;/li&gt;&lt;li&gt;A trigger action&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-2409715500753406966?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2409715500753406966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2409715500753406966'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/plsql-triggers-in-oracle.html' title='PL/SQL Triggers in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3036518580328823841</id><published>2011-04-18T08:14:00.000-07:00</published><updated>2011-04-18T08:14:12.001-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nested tables'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Pl/SQL Collections'/><title type='text'>Oracle PL/SQL Collections</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt; &lt;b&gt;Records&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;img alt="Table Based Records" height="8" src="http://plsqll.googlepages.com/red_bullet.gif" width="8" /&gt; Table Based Records&lt;img alt="Cursor Based Records" height="8" src="http://plsqll.googlepages.com/red_bullet.gif" width="8" /&gt; Cursor Based Records&lt;img alt="Programmer-defined Records" height="8" src="http://plsqll.googlepages.com/red_bullet.gif" width="8" /&gt; Programmer-defined Records&lt;/ul&gt;&lt;img alt="PL/SQL Tables " height="8" src="http://plsqll.googlepages.com/red_bullet.gif" width="8" /&gt; &lt;b&gt;PL/SQL Tables&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;img alt="Varrays" height="8" src="http://plsqll.googlepages.com/red_bullet.gif" width="8" /&gt; &lt;b&gt;Varrays&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;img alt="Nested Tables" height="8" src="http://plsqll.googlepages.com/red_bullet.gif" width="8" /&gt; &lt;b&gt;Nested Tables&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3036518580328823841?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3036518580328823841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3036518580328823841'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/oracle-plsql-collections.html' title='Oracle PL/SQL Collections'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3944415634499240188</id><published>2011-04-17T03:12:00.001-07:00</published><updated>2011-04-17T03:12:23.588-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='PL/SQL Function Example'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Queries'/><title type='text'>PL/SQL Function Example 2 in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Example 2 of &lt;/b&gt;&lt;b&gt;PL/SQL Function&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;create or replace function find_area&lt;br /&gt;(Len in number, Wid in number)&lt;br /&gt;return number&lt;br /&gt;as&lt;br /&gt;varea number;&lt;br /&gt;begin&lt;br /&gt;varea := Len * Wid;&lt;br /&gt;return varea;&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; select find_area (10, 30) area from dual;&lt;br /&gt;&lt;br /&gt;AREA&lt;br /&gt;---------&lt;br /&gt;300&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3944415634499240188?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3944415634499240188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3944415634499240188'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/plsql-function-example-2-in-oracle.html' title='PL/SQL Function Example 2 in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-2168478574286868737</id><published>2011-04-17T03:11:00.001-07:00</published><updated>2011-04-17T03:11:38.659-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Queries'/><title type='text'>PL/SQL Function Example in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Example 1 of &lt;/b&gt;&lt;b&gt;PL/SQL Function&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;Creating a Function: Examples The following statement creates the  function Ask_Balance on the sample table cust_orders (the PL/SQL is in  italics):&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;CREATE FUNCTION Ask_Balance(acc_num IN NUMBER) &lt;br /&gt;   RETURN NUMBER &lt;br /&gt;   IS acc_bal NUMBER(11,2);&lt;br /&gt;   BEGIN &lt;br /&gt;      SELECT order_total &lt;br /&gt;      INTO acc_bal &lt;br /&gt;      FROM cust_orders &lt;br /&gt;      WHERE customer_id = acc_num; &lt;br /&gt;      RETURN(acc_bal); &lt;br /&gt;    END;&lt;br /&gt;/&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The Ask_Balance function returns the balance of a specified account.&lt;br /&gt;&lt;br /&gt;When you call the function, you must specify the argument acc_num, the  number of the account whose balance is sought. The datatype of acc_num  is NUMBER.&lt;br /&gt;&lt;br /&gt;The function returns the account balance. The RETURN clause of the  CREATE FUNCTION statement specifies the datatype of the return value to  be NUMBER.&lt;br /&gt;&lt;br /&gt;The function uses a SELECT statement to select the balance column from  the row identified by the argument acc_num in the cust_orders table. The  function uses a RETURN statement to return this value to the  environment in which the function is called.&lt;br /&gt;&lt;br /&gt;The function created in the preceding example can be used in a SQL statement. For example:&lt;br /&gt;&lt;br /&gt;SELECT Ask_Balance(165) FROM DUAL; &lt;br /&gt;&lt;br /&gt;Ask_Balance(165)&lt;br /&gt;------------&lt;br /&gt;2519&lt;br /&gt;&lt;br /&gt;[&lt;a href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_5009.htm#i2153260"&gt;Source&lt;/a&gt;]&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-2168478574286868737?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2168478574286868737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2168478574286868737'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/plsql-function-example-in-oracle.html' title='PL/SQL Function Example in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-2038233136146300337</id><published>2011-04-17T03:10:00.000-07:00</published><updated>2011-04-17T03:10:47.409-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Queries'/><title type='text'>Syntax of PL/SQL function in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;pre style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;ins style="border: medium none; display: inline-table; height: 15px; margin: 0pt; padding: 0pt; position: relative; visibility: visible; width: 468px;"&gt;&lt;b&gt;PL/SQL Function&lt;/b&gt;&lt;/ins&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-family: inherit; font-size: small;"&gt; &lt;br /&gt;There are two types of PL/SQL blocks: named block and an anonymous block.&lt;br /&gt;There are two types of named blocks: Functions and Procedures&lt;/span&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;FUNCTION name [(parameter[, parameter, …])] RETURN&lt;br /&gt;datatype IS&lt;br /&gt;[local declarations]&lt;br /&gt;BEGIN&lt;br /&gt;executable statements&lt;br /&gt;[EXCEPTION&lt;br /&gt;exception handlers]&lt;br /&gt;END [name];&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-2038233136146300337?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2038233136146300337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2038233136146300337'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/syntax-of-plsql-function-in-oracle.html' title='Syntax of PL/SQL function in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7552698853896212314</id><published>2011-04-17T03:09:00.000-07:00</published><updated>2011-04-17T03:09:22.802-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='PL/SQL Function'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Queries'/><title type='text'>PL/SQL Function in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;PL/SQL Function&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;There are two types of PL/SQL blocks: named block and an anonymous block.&lt;br /&gt;There are two types of named blocks: Functions and Procedures&lt;br /&gt;&lt;br /&gt;In &lt;b&gt;PL/SQL&lt;/b&gt; a &lt;b&gt;Function&lt;/b&gt; takes zero or more parameter values and returns one value.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7552698853896212314?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7552698853896212314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7552698853896212314'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/plsql-function-in-oracle.html' title='PL/SQL Function in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-2664888850822035883</id><published>2011-04-17T03:06:00.000-07:00</published><updated>2011-04-17T03:06:11.193-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Queries'/><title type='text'>Syntax of PL/SQL Procedure in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;pre&gt;PROCEDURE name [(parameter[, parameter, …])] IS&lt;br /&gt;[local declarations]&lt;br /&gt;BEGIN&lt;br /&gt;executable statements&lt;br /&gt;[EXCEPTION&lt;br /&gt;exception handlers]&lt;br /&gt;END [name];&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Example 1 of &lt;/b&gt;&lt;b&gt;PL/SQL Procedure&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;create or replace procedure get_area&lt;br /&gt;(Len in number, Wid in number, Area out number)&lt;br /&gt;as&lt;br /&gt;begin&lt;br /&gt;Area := Len * Wid;&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; variable area1 number;&lt;br /&gt;SQL&amp;gt; execute get_area (10, 50, :area1);&lt;br /&gt;PL/SQL procedure successfully completed.&lt;br /&gt;SQL&amp;gt; print area1&lt;br /&gt;AREA1&lt;br /&gt;---------&lt;br /&gt;500&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Example 2 of &lt;/b&gt;&lt;b&gt;PL/SQL Procedure&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The following statement creates the procedure remove_emp  in the schema hr. The PL/SQL is shown in italics:&lt;br /&gt;&lt;br /&gt;CREATE PROCEDURE remove_emp (employee_id NUMBER) AS&lt;br /&gt;tot_emps NUMBER;&lt;br /&gt;BEGIN&lt;br /&gt;DELETE FROM employees&lt;br /&gt;WHERE employees.employee_id = remove_emp.employee_id;&lt;br /&gt;tot_emps := tot_emps - 1;&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The remove_emp procedure removes a specified employee. When you call the  procedure, you must specify the employee_id of the employee to be  removed.&lt;br /&gt;&lt;br /&gt;The procedure uses a DELETE statement to remove from the employees table the row of employee_id. [&lt;a href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_6009.htm#i2072424"&gt;Source&lt;/a&gt;]&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-2664888850822035883?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2664888850822035883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2664888850822035883'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/syntax-of-plsql-procedure-in-oracle.html' title='Syntax of PL/SQL Procedure in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-1101918507490468079</id><published>2011-04-17T03:05:00.001-07:00</published><updated>2011-04-17T03:05:19.996-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Queries'/><title type='text'>PL/SQL Procedures In Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;There are two types of PL/SQL blocks: named block and an anonymous block.&lt;br /&gt;There are two types of named blocks: Functions and Procedures&lt;br /&gt;&lt;br /&gt;A &lt;b&gt;stored procedure&lt;/b&gt; is a PL/SQL block that accepts zero or more parameters as input (IN), output (OUT), or both (INOUT). &lt;b&gt;PL/SQL Procedures&lt;/b&gt; do not return a value; instead the INOUT parameter or OUT parameter may be used to pass a value from the procedure. &lt;b&gt;Procedures&lt;/b&gt; cannot be used in SQL statements; they are invoked using the EXECUTE command or called inside a PL/SQL block.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-1101918507490468079?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1101918507490468079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1101918507490468079'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/plsql-procedures-in-oracle.html' title='PL/SQL Procedures In Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5870974347900770136</id><published>2011-04-17T03:04:00.000-07:00</published><updated>2011-04-17T03:04:22.943-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Queries'/><title type='text'>%TYPE and %ROWTYPE in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;%TYPE&lt;/b&gt; is used to declare a variable that is of the same type as a specified table’s column.&lt;br /&gt;&lt;br /&gt;Emp_number emp_name.emp_nameno%type;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;%ROWTYPE&lt;/b&gt; is used to declare a record (variable that represents the entire row of a table).&lt;br /&gt;&lt;br /&gt;Emp_record emp_name%rowtype;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Another example of declaring variable:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Declare&lt;br /&gt;name varchar2(30);&lt;br /&gt;Select emp_name_name into name from emp_name where emp_nameno = 203456;&lt;br /&gt;Begin&lt;br /&gt;Null;&lt;br /&gt;End;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Any DML statements should be after Begin statement;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Begin&lt;br /&gt;Delete from emp_name where emp_nameno = 24545459;&lt;br /&gt;Commit;&lt;br /&gt;End;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5870974347900770136?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5870974347900770136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5870974347900770136'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/type-and-rowtype-in-oracle.html' title='%TYPE and %ROWTYPE in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7820272211297078149</id><published>2011-04-17T03:02:00.000-07:00</published><updated>2011-04-17T03:02:50.257-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Queries'/><title type='text'>Declaring PL/SQL variables and constants in Oracle</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Example of declaring Variableiables:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Variable1 varchar2(100);&lt;br /&gt;Join_date Date;&lt;br /&gt;Variable2 number default 5;&lt;br /&gt;Variable3 number not null := 2;&lt;br /&gt;&lt;br /&gt;Not Null means a value may change but it can never be assigned Null.&lt;br /&gt;&lt;br /&gt;Variable4 varchar2(20) := Null;&lt;br /&gt;Variable5 varchar2(20) default Null;&lt;br /&gt;&lt;br /&gt;Example of declaring Constants:&lt;br /&gt;&lt;br /&gt;Variable_constant constant number := 100;&lt;br /&gt;&lt;br /&gt;Constants cannot be changed.&lt;br /&gt;&lt;br /&gt;You must initialize constants at the time of declaration.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7820272211297078149?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7820272211297078149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7820272211297078149'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/declaring-plsql-variables-and-constants.html' title='Declaring PL/SQL variables and constants in Oracle'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7267774274105327070</id><published>2011-04-17T03:00:00.000-07:00</published><updated>2011-04-17T03:00:20.916-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Queries'/><title type='text'>Oracle Syntax of a PL/SQL Block</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;DECLARE&lt;br /&gt;Variable_declarations&lt;br /&gt;BEGIN&lt;br /&gt;Program_code&lt;br /&gt;EXCEPTION&lt;br /&gt;Exception_handlers&lt;br /&gt;END;&lt;br /&gt;&lt;br /&gt;Below is the &lt;span style="font-weight: bold;"&gt;basic structure of the PL/SQL program:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set serveroutput on&lt;br /&gt;Var1 varchar2(20);&lt;br /&gt;Begin&lt;br /&gt;Var1 := ‘welcome’;&lt;br /&gt;Dbms_output.put_line(var1);&lt;br /&gt;Exception&lt;br /&gt;When others then&lt;br /&gt;Dbms_output.put_line(‘It is an exception’);&lt;br /&gt;End;&lt;br /&gt;/&lt;br /&gt;In the declaration section all the variables and constants are defined.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;In PL/SQL all the errors are handled in the Exception block.&lt;/li&gt;&lt;li&gt;Begin and End are mandatory statements indicating begin and end of the PL/SQL Block.&lt;/li&gt;&lt;li&gt;Variables and Constants must be declared first before they can be used.&lt;/li&gt;&lt;li&gt;The  declaration of variables and constants are alike, but constant  definitions must contain the keyword CONSTANT and must be assigned a  value as part of the definition. Later on any attempts to assign a value  to a constant will result in an error message.&lt;/li&gt;&lt;li&gt;Values can be  assigned to variables directly using the “:=” assignment operator, by  way of a SELECT ... INTO statement or When used as OUT or IN OUT  parameter from a procedure.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7267774274105327070?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7267774274105327070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7267774274105327070'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/oracle-syntax-of-plsql-block.html' title='Oracle Syntax of a PL/SQL Block'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7172222289963687338</id><published>2011-04-17T02:59:00.000-07:00</published><updated>2011-04-17T02:59:09.293-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Triggers'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle SQL Queries'/><title type='text'>Oracle PL/SQL Introduction |Oracle PL/SQL Tutorial</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-weight: bold;"&gt;PL/SQL&lt;/span&gt; stands for Procedural  Language/SQL. PL/SQL is Oracle's Procedural Language extension to SQL.  PL/SQL expands SQL by adding constructs found in procedural languages,  resulting in a structural language that is more powerful than SQL.  Basically it runs on the database server, but a few Oracle products such  as Developer/2000 also contain a PL/SQL engine that resides on the  client. Thus, you can run your PL/SQL code on either the client or the  server depending on which is more suitable for the task at hand.&lt;br /&gt;&lt;br /&gt;Unlike SQL, &lt;span style="font-weight: bold;"&gt;PL/SQL is procedural&lt;/span&gt;, not declarative.&lt;br /&gt;&lt;br /&gt;A  declarative (non-procedural) programming language is a language that  allows the programmer to state the task to be accomplished without  specifying the procedures needed to carry it out.&lt;br /&gt;&lt;br /&gt;A Procedural  programming language is a language in which programs largely consist of a  series of commands to assign values to objects.&lt;br /&gt;&lt;br /&gt;The basic unit  in PL/SQL is a block. All PL/SQL programs are made up of blocks, which  can be nested within each other. Typically, each block performs a  logical action in the program. PL/SQL is Block Structured.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7172222289963687338?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7172222289963687338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7172222289963687338'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/oracle-plsql-introduction-oracle-plsql.html' title='Oracle PL/SQL Introduction |Oracle PL/SQL Tutorial'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7231986759383049009</id><published>2011-04-11T13:43:00.000-07:00</published><updated>2011-04-11T13:43:08.999-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA J2EE tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='java programing'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Download'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Free pdf online'/><category scheme='http://www.blogger.com/atom/ns#' term='Java development'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='Java 6 Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='Collections Framework Java API'/><title type='text'>NavigableSet in Java 6.0</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;"&gt;NavigableSet API is included in the SCJP 6.0 certification exam. This article explains few important methods with simple example program. NavigableSet is the subinterface of SortedSet. This interface defines methods for finding the element in a list. For example lower() method used for finding the element which is less than the given value. Look into the following example: &lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;package NavigableTutorial.net;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;import java.util.ArrayList;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;import java.util.List;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;import java.util.NavigableSet;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;import java.util.TreeSet;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;public class NavigableSetTutorial1 {&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void main(String args[]){&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; List&lt;integer&gt; list = new ArrayList&lt;integer&gt;();&lt;/integer&gt;&lt;/integer&gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.add(3);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.add(4);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.add(1);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.add(8);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.add(7);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.add(10);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NavigableSet navigableSet = new TreeSet(list);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(navigableSet.lower(8));&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(navigableSet.higher(8));&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;Output:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;7&lt;br /&gt;10&lt;br /&gt;&lt;br /&gt;In the above code, NavigableSet.lower() method is used for reteriving the value which is less than '8' in the list. Same way NavigableSet.higher() is used for reteriving the value greater than '8' in the list.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7231986759383049009?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7231986759383049009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7231986759383049009'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/navigableset-in-java-60.html' title='NavigableSet in Java 6.0'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-4056872782707843506</id><published>2011-04-11T13:42:00.000-07:00</published><updated>2011-04-11T13:42:09.519-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA J2EE tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='java programing'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Download'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Free pdf online'/><category scheme='http://www.blogger.com/atom/ns#' term='Java development'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='Java 6 Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='Collections Framework Java API'/><title type='text'>Java 6 - NavigableSet -headSet and tailSet Example Java Collections Framework</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;"&gt;The below example explains the headSet and tailSet methods of the NavigableSet.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;package examples;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;import java.util.NavigableSet;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;import java.util.TreeSet;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;public class NavigableSetExample {&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;public static void main(String[] args) {&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;NavigableSet set = new TreeSet();&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;// Add elements in to the Navigable Set&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;set.add(1);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;set.add(2);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;set.add(3);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;System.out.println(set);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;// Head Set&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;System.out.println("Head Set :" + set.headSet(2));&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;System.out.println("Head Set including given integer: "+ set.headSet(2, true));&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;// Tail Set &lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;System.out.println("Tail Set" + set.tailSet(2));&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;System.out.println("Tail Set including given integer: " + set.tailSet(2, false));&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;}&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;}&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;[1, 2, 3]&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Head Set :[1]&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Head Set including given integer: [1, 2]&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Tail Set[2, 3]&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Tail Set including given integer: [3]&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-4056872782707843506?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4056872782707843506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4056872782707843506'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/java-6-navigableset-headset-and-tailset.html' title='Java 6 - NavigableSet -headSet and tailSet Example Java Collections Framework'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7965476939184740849</id><published>2011-04-11T13:40:00.000-07:00</published><updated>2011-04-11T13:40:50.015-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA J2EE tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='java programing'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Download'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Free pdf online'/><category scheme='http://www.blogger.com/atom/ns#' term='Java development'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='Java 6 Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='Collections Framework Java API'/><title type='text'>NavigableSet - pollFirst and pollLast example Java Collections</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;"&gt;pollFirst(), pollLast() methods of NavigableSet can be used to remove first and last element of the Set respectively. The below program explains the pollFirst() and pollLast()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;package examples;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;import java.util.NavigableSet;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;import java.util.TreeSet;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;public class NavigableSetExample {&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;public static void main(String args[]){&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;NavigableSet navigableSet = new TreeSet();&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;navigableSet.add(1);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;navigableSet.add(2);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;System.out.println("Set : " + navigableSet);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;navigableSet.pollFirst();&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;System.out.println("Set After pollFirst " + navigableSet);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;navigableSet.add(3);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;navigableSet.add(4);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;System.out.println("Set " + navigableSet);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;navigableSet.pollLast();&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;System.out.println("Set after pollLast " +navigableSet);&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;}&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;Output:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;Set : [1, 2]&lt;br /&gt;Set After pollFirst [2]&lt;br /&gt;Set [2, 3, 4]&lt;br /&gt;Set after pollLast [2, 3]&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7965476939184740849?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7965476939184740849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7965476939184740849'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/navigableset-pollfirst-and-polllast.html' title='NavigableSet - pollFirst and pollLast example Java Collections'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-4775665311817868414</id><published>2011-04-11T13:39:00.000-07:00</published><updated>2011-04-11T13:39:04.208-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA J2EE tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='java programing'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Download'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Free pdf online'/><category scheme='http://www.blogger.com/atom/ns#' term='Java development'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='Java 6 Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='Collections Framework Java API'/><title type='text'>Java Collections Tutorial Navigable Map Example</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;package JAVATUTORIAL;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;import java.util.*;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;import java.util.concurrent.*;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;public class NavigableMapTutorial{&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; public static void main(String[] args) {&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("Navigable Map Example!\n");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; NavigableMap &lt;integer, string=""&gt;navMapObj = new &lt;/integer,&gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ConcurrentSkipListMap&lt;integer, string=""&gt;();&lt;/integer,&gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; navMapObj.put(1, "S");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; navMapObj.put(2, "February");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; navMapObj.put(3, "March");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; navMapObj.put(4, "April");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; navMapObj.put(5, "May");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; navMapObj.put(6, "June");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; navMapObj.put(7, "July");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; navMapObj.put(8, "August");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; navMapObj.put(9, "September");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; navMapObj.put(10, "October");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; navMapObj.put(11, "November");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; navMapObj.put(12, "December");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Displaying all data&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("Data in Navigable Map is : " + &lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; navMapObj.descendingMap()+"\n");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Retrieving first data&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.print("First data: " + navMapObj.firstEntry()+"\n");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Retrieving last data&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.print("Last data: " + navMapObj.lastEntry()+"\n\n");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Retrieving the nreatest less than or equal to the given key&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.print("Nearest less than or equal to the given key: " &lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + navMapObj.floorEntry(5)+"\n");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Retrieving the greatest key strictly less than the given key&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("Retrieving the greatest key strictly less than the given key"+ navMapObj.lowerEntry(3));&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Retrieving a key-value associated with the least key &lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //strictly greater than the given key&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("Retriving data from navigable map greter than&amp;nbsp;&amp;nbsp; the given key: " + navMapObj.higherEntry(5)+"\n");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Removing first&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("Removing First: " + navMapObj.pollFirstEntry());&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Removing last&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("Removing Last: " + navMapObj.pollLastEntry()+"\n");&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Displaying all data&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("Now data: " + navMapObj.descendingMap());&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;u&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;u&gt;&lt;b&gt;Description of program:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;The following program helps you in inserting, removing and retrieving the data from the NavigableMap. It uses the put() method to add the element. If you want to retrieve the data at first and last position from the NavigableMap, you use the firstEntry() and lastEntry() methods. The descendingMap() method represents all data to the NavigableMap in descending order. &lt;br /&gt;&lt;br /&gt;You can retrieve the nearest less than or equal to the given number and the greatest key strictly less than the given number floorEntry() and lowerEntry() methods. And you retrieve a key-value associated with the least key strictly greater than the given key, you use the higherEntry() method. The pollFirstEntry() method removes the first data from the NavigableMap and pollLastEntry() method also removes the data at the last position from the NavigableMap.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-4775665311817868414?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4775665311817868414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4775665311817868414'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/java-collections-tutorial-navigable-map.html' title='Java Collections Tutorial Navigable Map Example'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-4247500084358110508</id><published>2011-04-11T13:37:00.000-07:00</published><updated>2011-04-11T13:37:11.097-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NavigableMap'/><category scheme='http://www.blogger.com/atom/ns#' term='Java 6.0 New Collection APIs'/><category scheme='http://www.blogger.com/atom/ns#' term='java programing'/><category scheme='http://www.blogger.com/atom/ns#' term='Deque'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Free pdf online'/><category scheme='http://www.blogger.com/atom/ns#' term='BlockingDeque'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='NavigableSet'/><category scheme='http://www.blogger.com/atom/ns#' term='Java 6 Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='Collections Framework Java API'/><title type='text'>JDK 6 Collections-related APIs &amp; Developer Guides |Java 6.0 Collection Framework</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Java 6.0 New Collection APIs an Overview&lt;br /&gt;The following are the new collection APIs introduced in Java 6.0. I listes them as Interfaces and classes. &lt;br /&gt;&lt;b&gt;New Interfaces&lt;/b&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Deque &lt;/li&gt;&lt;li&gt;BlockingDeque &lt;/li&gt;&lt;li&gt;NavigableSet &lt;/li&gt;&lt;li&gt;NavigableMap &lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;New Classes&lt;/b&gt;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;ArrayDeque &lt;/li&gt;&lt;li&gt;LinkedBlockingDeque &lt;/li&gt;&lt;li&gt;ConcurrentSkipListSet &lt;/li&gt;&lt;li&gt;ConcurrentSkipListMap &lt;/li&gt;&lt;li&gt;AbstractMap.SimpleEntry &lt;/li&gt;&lt;li&gt;AbstractMap.SimpleImmutableEntry &lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Updated Classes in Java 6.0&lt;/b&gt;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;LinkedList &lt;/li&gt;&lt;li&gt;TreeSet &lt;/li&gt;&lt;li&gt;TreeMap &lt;/li&gt;&lt;li&gt;Collections &lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-4247500084358110508?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4247500084358110508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4247500084358110508'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/jdk-6-collections-related-apis.html' title='JDK 6 Collections-related APIs &amp; Developer Guides |Java 6.0 Collection Framework'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3622393698976097345</id><published>2011-04-11T13:34:00.000-07:00</published><updated>2011-04-11T13:34:21.552-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA J2EE tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='java programing'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Download'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Free pdf online'/><category scheme='http://www.blogger.com/atom/ns#' term='Java development'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='Java 6 Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='Collections Framework Java API'/><title type='text'>Advantages and Disadvantages of the Java Collection Framework</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;A collection is simply an object that groups multiple elements into a single unit. It is also called as a container sometimes. It is used to store, retrieve, manipulate, and communicate aggregate data. Typically, it represents data items that form a natural group and allows duplicate elements while others do not. It consists of both ordered and unordered elements.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;The primary advantages of a collections framework are that it: &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;Reduces programming effort by providing useful data structures and algorithms so you don't have to write them yourself. &lt;br /&gt;Increases performance by providing high-performance implementations of useful data structures and algorithms. Because the various implementations of each interface are interchangeable, programs can be easily tuned by switching implementations. &lt;br /&gt;Provides interoperability between unrelated APIs by establishing a common language to pass collections back and forth. &lt;br /&gt;Reduces the effort required to learn APIs by eliminating the need to learn multiple ad hoc collection APIs. &lt;br /&gt;Reduces the effort required to design and implement APIs by eliminating the need to produce ad hoc collections APIs. &lt;br /&gt;Fosters software reuse by providing a standard interface for collections and algorithms to manipulate them. &lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Disadvantages of collections framework:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;It must cast to correct type. &lt;br /&gt;It can't be done compile-time type checking. &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3622393698976097345?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3622393698976097345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3622393698976097345'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/advantages-and-disadvantages-of-java.html' title='Advantages and Disadvantages of the Java Collection Framework'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-4723418422084975733</id><published>2011-04-11T13:32:00.000-07:00</published><updated>2011-04-11T13:32:46.254-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA J2EE tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='java programing'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Download'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Free pdf online'/><category scheme='http://www.blogger.com/atom/ns#' term='Java development'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='Java 6 Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='Collections Framework Java API'/><title type='text'>What is Collection Framework in Java?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;A collection is an object that represents a group of objects (such as the familiar Vector class). A collections framework is a unified architecture for representing and manipulating collections, allowing them to be manipulated independently of the details of their representation. &lt;br /&gt;&lt;br /&gt;collections is a group of objects known as its elements. Basically it is a package of data structures that includes ArrayLists, LinkedLists, HashSets, etc. A collection is simply an object that groups multiple elements into a single unit. It is also called as a container sometimes. It is used to store, retrieve, manipulate, and communicate aggregate data. Typically, it represents data items that form a natural group and allows duplicate elements while others do not. It consists of both ordered and unordered elements. There is no direct implementation of this interface however SDK provides implementations of more specific sub interfaces like Set and List. The manipulation and passing of collections is done by this interface. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-4723418422084975733?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4723418422084975733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4723418422084975733'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/what-is-collection-framework-in-java.html' title='What is Collection Framework in Java?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-6064265961832231906</id><published>2011-04-08T22:55:00.000-07:00</published><updated>2011-04-08T22:55:17.755-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AWR Oracle 10g'/><category scheme='http://www.blogger.com/atom/ns#' term='Autotrace in Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Sqlplus'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Database'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Interview Questions'/><title type='text'>How to configure AUTOTRACE in SQLPLUS for database user?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="color: black;"&gt;1. Change directory path and connect with SYSTEM user to database&lt;br /&gt;C:\&amp;gt;cd c:\oracle\product\10.1.0\db_1\rdbms\admin&lt;br /&gt;&lt;br /&gt;C:\Oracle\product\10.1.0\Db_1\RDBMS\ADMIN&amp;gt;sqlplus /nolog&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 9.0.1.0.1 - Production on Tue Oct 16 17:08:20 2007&lt;br /&gt;&lt;br /&gt;(c) Copyright 2001 Oracle Corporation.  All rights reserved.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; conn system/manager&lt;br /&gt;Connected.&lt;br /&gt;&lt;br /&gt;2. run UTLXPLAN.&lt;span style="color: rgb(0, 0, 0) ! important; font-family: inherit ! important; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;&lt;span class="kLink" style="font-family: inherit ! important; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;SQL &lt;/span&gt;&lt;span class="kLink" style="font-family: inherit ! important; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;script&lt;/span&gt;&lt;/span&gt; for plan table.&lt;br /&gt;SQL&amp;gt; @utlxplan.sql&lt;br /&gt;&lt;br /&gt;3. Create public synonym for plan table or grant all privilege.&lt;br /&gt;SQL&amp;gt; create public synonym plan_table for plan_table;&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; grant all on plan_table to public;&lt;br /&gt;&lt;br /&gt;Grant succeeded.&lt;br /&gt;&lt;br /&gt;4. Exit and again change directory path and connect with SYS user to database&lt;br /&gt;SQL&amp;gt; exit&lt;br /&gt;Disconnected from Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production&lt;br /&gt;With the Partitioning option&lt;br /&gt;JServer Release 9.0.1.1.1 - Production&lt;br /&gt;&lt;br /&gt;C:\Oracle\product\10.1.0\Db_1\RDBMS\ADMIN&amp;gt;cd\&lt;br /&gt;&lt;br /&gt;C:\&amp;gt;cd c:\oracle\product\10.1.0\db_1\sqlplus\admin&lt;br /&gt;&lt;br /&gt;C:\Oracle\product\10.1.0\Db_1\sqlplus\admin&amp;gt;sqlplus /nolog&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 9.0.1.0.1 - Production on Tue Oct 16 17:12:07 2007&lt;br /&gt;&lt;br /&gt;(c) Copyright 2001 Oracle Corporation.  All rights reserved.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; conn sys as sysdba&lt;br /&gt;Enter password:&lt;br /&gt;Connected.&lt;br /&gt;&lt;br /&gt;5. run plustrce script and script must be run with SYS user.&lt;br /&gt;SQL&amp;gt; @plustrce&lt;br /&gt;SQL&amp;gt;&lt;br /&gt;SQL&amp;gt; drop role plustrace;&lt;br /&gt;&lt;br /&gt;Role dropped.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; create role plustrace;&lt;br /&gt;&lt;br /&gt;Role created.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt;&lt;br /&gt;SQL&amp;gt; grant select on v_$sesstat to plustrace;&lt;br /&gt;&lt;br /&gt;Grant succeeded.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; grant select on v_$statname to plustrace;&lt;br /&gt;&lt;br /&gt;Grant succeeded.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; grant select on v_$mystat to plustrace;&lt;br /&gt;&lt;br /&gt;Grant succeeded.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; grant plustrace to &lt;span style="color: rgb(0, 0, 0) ! important; font-family: inherit ! important; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;&lt;span class="kLink" style="font-family: inherit ! important; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;dba&lt;/span&gt;&lt;/span&gt; with admin option;&lt;br /&gt;&lt;br /&gt;Grant succeeded.&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; set echo off&lt;br /&gt;&lt;br /&gt;6. Grant plustrace role to public.&lt;br /&gt;SQL&amp;gt;  grant plustrace to public;&lt;br /&gt;&lt;br /&gt;Grant succeeded.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-6064265961832231906?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6064265961832231906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6064265961832231906'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/how-to-configure-autotrace-in-sqlplus.html' title='How to configure AUTOTRACE in SQLPLUS for database user?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7315404883000157150</id><published>2011-04-08T22:52:00.000-07:00</published><updated>2011-04-08T22:52:36.035-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Samba'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows Network'/><category scheme='http://www.blogger.com/atom/ns#' term='Samba Network'/><category scheme='http://www.blogger.com/atom/ns#' term='Samba in Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Samba Configuration'/><title type='text'>Samba Configuration for Linux Directory access from windows|Linux In a Windows Network with SAMBA</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="color: black;"&gt;Kindly go through the below mentioned site&lt;br /&gt;&lt;br /&gt;http://www.computernetworkingnotes.com/rhce_certification/samba_server.htm&lt;br /&gt;&lt;br /&gt;step&lt;br /&gt;1. install rpm package for smb (samba)&lt;br /&gt;2. edit smb.conf (path= /etc/samba/smb.conf)&lt;br /&gt;and add the directory &lt;span style="color: rgb(0, 0, 0) ! important; font-family: inherit ! important; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;&lt;span class="kLink" style="background-color: transparent; border-bottom: 1px solid rgb(0, 150, 0); font-family: inherit ! important; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;&lt;/span&gt;&lt;/span&gt;name and user which you want to share&lt;br /&gt;3. create same user as windows who access the directory from windows.&lt;br /&gt;for example: windows user is "admin" which will access the linux shared directory.&lt;br /&gt;then we need to create the same user in linux server also with the same password.&lt;br /&gt;&lt;br /&gt;4. add user to smb&lt;br /&gt;$smbpasswd -a [username]&lt;br /&gt;&lt;br /&gt;5. restart smb services&lt;br /&gt;$service smb restart&lt;br /&gt;or&lt;br /&gt;$service /sbin/samba/smb restart&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7315404883000157150?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7315404883000157150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7315404883000157150'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/samba-configuration-for-linux-directory.html' title='Samba Configuration for Linux Directory access from windows|Linux In a Windows Network with SAMBA'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3967643192112953299</id><published>2011-04-08T22:49:00.000-07:00</published><updated>2011-04-08T22:49:58.129-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 10g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Process'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Sqlplus'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Database'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='ORA-00020'/><title type='text'>ORA-00020: maximum number of processes (%s) exceeded in Oracle 10g,Oracle 11g</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="color: black;"&gt;&lt;b&gt;ORA-20 "maximum number of processes (%s) exceeded"&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Cause: An  ORA-20 "maximum number of processes (%s) exceeded" occurs when the  number of OS processes for the instance exceeds the PROCESSES parameter &lt;br /&gt;&lt;br /&gt;and i am not able to connect to sys as sysdba user too.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;C:\&amp;gt;sqlplus / as sysdba&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 11.2.0.2.0 Production on Wed Jan 26 08:58:09 2011&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2010, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;ERROR:&lt;br /&gt;ORA-00020: maximum number of processes (150) exceeded&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;but there is a alternative which we can use to connect to sys as sysdba user.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;C:\&amp;gt;sqlplus -prelim / as sysdba&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 11.2.0.2.0 Production on Wed Jan 26 08:58:54 2011&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2010, Oracle.  All rights reserved.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Solution: &lt;br /&gt;1. Increase the processes parameter Or&lt;br /&gt;2. Kill KBCOOK process at &lt;span style="color: rgb(0, 150, 0) ! important; font-family: inherit ! important; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;&lt;span class="kLink" style="font-family: inherit ! important; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;OS &lt;/span&gt;&lt;span class="kLink" style="font-family: inherit ! important; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;level&lt;/span&gt;&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;$ ps -ef | grep KBCOOK&lt;br /&gt;&lt;br /&gt;oracle 17555 1 0 04:48 ? 00:00:00 ora_pmon_KBCOOK&lt;br /&gt;oracle 17557 1 0 04:48 ? 00:00:00 ora_vktm_KBCOOK&lt;br /&gt;oracle 17561 1 0 04:48 ? 00:00:00 ora_diag_KBCOOK&lt;br /&gt;oracle 17563 1 0 04:48 ? 00:00:00 ora_dbrm_KBCOOK&lt;br /&gt;oracle 17565 1 0 04:48 ? 00:00:00 ora_psp0_KBCOOK&lt;br /&gt;oracle 17569 1 0 04:48 ? 00:00:00 ora_dia0_KBCOOK&lt;br /&gt;oracle 17571 1 0 04:48 ? 00:00:00 ora_mman_KBCOOK&lt;br /&gt;oracle 17573 1 0 04:48 ? 00:00:00 ora_dbw0_KBCOOK&lt;br /&gt;oracle 17575 1 0 04:48 ? 00:00:00 ora_lgwr_KBCOOK&lt;br /&gt;oracle 17577 1 0 04:48 ? 00:00:00 ora_ckpt_KBCOOK&lt;br /&gt;oracle 17579 1 0 04:48 ? 00:00:00 ora_smon_KBCOOK&lt;br /&gt;oracle 17581 1 0 04:48 ? 00:00:00 ora_reco_KBCOOK&lt;br /&gt;oracle 17583 1 0 04:48 ? 00:00:00 ora_mmon_KBCOOK&lt;br /&gt;oracle 17585 1 0 04:48 ? 00:00:00 ora_mmnl_KBCOOK&lt;br /&gt;oracle 17587 1 0 04:48 ? 00:00:00 ora_d000_KBCOOK&lt;br /&gt;oracle 17589 1 0 04:48 ? 00:00:00 ora_s000_KBCOOK&lt;br /&gt;oracle 17608 1 0 04:48 ? 00:00:00 ora_smco_KBCOOK&lt;br /&gt;oracle 17610 1 0 04:48 ? 00:00:00 ora_fbda_KBCOOK&lt;br /&gt;oracle 17612 1 0 04:48 ? 00:00:00 ora_qmnc_KBCOOK&lt;br /&gt;oracle 17641 1 0 04:48 ? 00:00:00 ora_q000_KBCOOK&lt;br /&gt;oracle 17671 1 0 04:49 ? 00:00:00 ora_q001_KBCOOK&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;oracle 17761 1 0 04:50 ? 00:00:00 oracleKBCOOK (LOCAL=NO)&lt;/span&gt;&lt;br /&gt;oracle 18480 1 0 04:58 ? 00:00:00 ora_w000_KBCOOK&lt;br /&gt;oracle 18608 17126 0 05:00 pts/1 00:00:00 grep KBCOOK&lt;br /&gt;&lt;br /&gt;$ kill -9 17761&lt;br /&gt;&lt;br /&gt;$ ps -ef | grep KBCOOK&lt;br /&gt;&lt;br /&gt;oracle 17555 1 0 04:48 ? 00:00:00 ora_pmon_KBCOOK&lt;br /&gt;oracle 17557 1 0 04:48 ? 00:00:00 ora_vktm_KBCOOK&lt;br /&gt;oracle 17561 1 0 04:48 ? 00:00:00 ora_diag_KBCOOK&lt;br /&gt;oracle 17563 1 0 04:48 ? 00:00:00 ora_dbrm_KBCOOK&lt;br /&gt;oracle 17565 1 0 04:48 ? 00:00:00 ora_psp0_KBCOOK&lt;br /&gt;oracle 17569 1 0 04:48 ? 00:00:00 ora_dia0_KBCOOK&lt;br /&gt;oracle 17571 1 0 04:48 ? 00:00:00 ora_mman_KBCOOK&lt;br /&gt;oracle 17573 1 0 04:48 ? 00:00:00 ora_dbw0_KBCOOK&lt;br /&gt;oracle 17575 1 0 04:48 ? 00:00:00 ora_lgwr_KBCOOK&lt;br /&gt;oracle 17577 1 0 04:48 ? 00:00:00 ora_ckpt_KBCOOK&lt;br /&gt;oracle 17579 1 0 04:48 ? 00:00:00 ora_smon_KBCOOK&lt;br /&gt;oracle 17581 1 0 04:48 ? 00:00:00 ora_reco_KBCOOK&lt;br /&gt;oracle 17583 1 0 04:48 ? 00:00:00 ora_mmon_KBCOOK&lt;br /&gt;oracle 17585 1 0 04:48 ? 00:00:00 ora_mmnl_KBCOOK&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Refer Metalink Note:  [ID 825045.1] for more details.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3967643192112953299?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3967643192112953299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3967643192112953299'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/ora-00020-maximum-number-of-processes-s.html' title='ORA-00020: maximum number of processes (%s) exceeded in Oracle 10g,Oracle 11g'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-2570245400597512256</id><published>2011-04-08T22:46:00.000-07:00</published><updated>2011-04-08T22:46:12.677-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='RedHat Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Database'/><category scheme='http://www.blogger.com/atom/ns#' term='ORA-16006'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Exceptions'/><title type='text'>ORA-16006: audit_trail destination incompatible with database open mode on redhat 5.2 10gr2 (10.2.0.4)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&amp;nbsp;ORA-16006: audit_trail destination incompatible with database open mode&lt;br /&gt;while i was trying to open standby database got below error message&lt;br /&gt;&lt;br /&gt;ORA-16006: audit_trail destination incompatible with database open mode&lt;br /&gt;&lt;br /&gt;at little search on metalink found below note: ID 835638.1&lt;br /&gt;&lt;br /&gt;solution:&lt;br /&gt;&lt;br /&gt;SQL&amp;gt;alter system set audit_trail=OS scope=spfile;&lt;br /&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-2570245400597512256?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2570245400597512256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2570245400597512256'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/ora-16006-audittrail-destination.html' title='ORA-16006: audit_trail destination incompatible with database open mode on redhat 5.2 10gr2 (10.2.0.4)'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-8787187361182544615</id><published>2011-04-08T22:43:00.000-07:00</published><updated>2011-04-08T22:43:41.147-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Creating AWR report'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 10g AWR'/><category scheme='http://www.blogger.com/atom/ns#' term='AWR Report in Oracle'/><title type='text'>How to Create AWR Report in Oracle 10g?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;he remaining procedures in the    &lt;span class="BodyTextItalicsChar1Char"&gt;dbms_workload_repository &lt;/span&gt;package are    &lt;a href="http://developers-arena.blogspot.com/2011/04/awr-reports-workload-repository-reports.html"&gt;&lt;span class="BodyTextItalicsChar1Char"&gt;awr_report_text&lt;/span&gt;&lt;/a&gt;&amp;nbsp;and    &lt;span class="BodyTextItalicsChar1Char"&gt;awr_report_html&lt;/span&gt;, which generate the     &lt;a href="http://developers-arena.blogspot.com/2011/04/awr-reports-workload-repository-reports.html"&gt;AWR report&lt;/a&gt; for the specified snapshot range in text or HTML formats,     respectively.&amp;nbsp; The following script segment shows how to retrieve     the AWR text report for any snapshot range or duration:    &lt;br /&gt;&lt;address&gt;     &lt;span style="font-style: normal;"&gt;     &lt;span style="font-family: Courier New; font-size: x-small;"&gt;SELECT &lt;/span&gt;&lt;/span&gt;    &lt;/address&gt;&lt;address&gt;     &lt;span style="font-style: normal;"&gt;     &lt;span style="font-family: Courier New; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp; output&amp;nbsp; &lt;/span&gt;&lt;/span&gt;    &lt;/address&gt;&lt;address&gt;     &lt;span style="font-style: normal;"&gt;     &lt;span style="font-family: Courier New; font-size: x-small;"&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;      TABLE(dbms_workload_repository.awr_report_text (45634523,1,5600,5612 ));&lt;/span&gt;&lt;/span&gt;&lt;/address&gt;&lt;div class="BodyText"&gt;The sample output below shows the typical report     generated for &lt;a href="http://developers-arena.blogspot.com/2011/04/awr-reports-workload-repository-reports.html"&gt;AWR data&lt;/a&gt;.&amp;nbsp; The output displays shows the four     arguments to the &lt;span class="BodyTextItalicsChar1Char"&gt;    awr_report_text&lt;/span&gt; stored procedure:&lt;/div&gt;&lt;div class="Bullets"&gt;&lt;span style="font-family: Wingdings;"&gt;§&lt;span style="font-family: Times New Roman; font-size: 7.0pt; font-style: normal; font-variant: normal; font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    &lt;/span&gt;&lt;/span&gt;The database ID is 37933856.&lt;/div&gt;&lt;div class="Bullets"&gt;&lt;span style="font-family: Wingdings;"&gt;§&lt;span style="font-family: Times New Roman; font-size: 7.0pt; font-style: normal; font-variant: normal; font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    &lt;/span&gt;&lt;/span&gt;The instance number for RAC is 1.&lt;/div&gt;&lt;div class="Bullets"&gt;&lt;span style="font-family: Wingdings;"&gt;§&lt;span style="font-family: Times New Roman; font-size: 7.0pt; font-style: normal; font-variant: normal; font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    &lt;/span&gt;&lt;/span&gt;The starting snapshot number is5600&lt;/div&gt;&lt;div class="Bullets"&gt;&lt;span style="font-family: Wingdings;"&gt;§&lt;span style="font-family: Times New Roman; font-size: 7.0pt; font-style: normal; font-variant: normal; font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    &lt;/span&gt;&lt;/span&gt;The ending snapshot number is5612&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-8787187361182544615?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8787187361182544615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8787187361182544615'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/how-to-create-awr-report-in-oracle-10g.html' title='How to Create AWR Report in Oracle 10g?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-8536055555762990120</id><published>2011-04-08T22:39:00.000-07:00</published><updated>2011-04-08T22:39:32.138-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AWR Oracle 10g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 10g AWR'/><category scheme='http://www.blogger.com/atom/ns#' term='AWR Report'/><category scheme='http://www.blogger.com/atom/ns#' term='AWR Features'/><title type='text'>AWR Reports |Workload Repository Reports in Oracle 10g</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Oracle provide two scripts to produce workload repository reports  (&lt;a href="http://developers-arena.blogspot.com/2011/04/what-are-workload-repository-views-awr.html"&gt;awrrpt.sql &lt;/a&gt;and &lt;a href="http://developers-arena.blogspot.com/2011/04/what-are-workload-repository-views-awr.html"&gt;awrrpti.sql&lt;/a&gt;). They are similar in format to the  statspack reports and give the option of HTML or plain text formats. The two reports give essential  the same output but the awrrpti.sql allows you to select a single  instance. The reports can be generated as follows:&lt;/span&gt;  &lt;/div&gt;&lt;blockquote style="background-color: #cccccc; font-family: inherit;"&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;@$ORACLE_HOME/rdbms/admin/awrrpt.sql&lt;br /&gt;@$ORACLE_HOME/rdbms/admin/awrrpti.sql&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: inherit;"&gt;  The scripts prompt you to enter the report format (html or text), the  start snapshot id, the end snapshot id and the report filename. The  resulting report can be opend in a browser or text editor accordingly.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-8536055555762990120?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8536055555762990120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8536055555762990120'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/awr-reports-workload-repository-reports.html' title='AWR Reports |Workload Repository Reports in Oracle 10g'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-6425413739523025037</id><published>2011-04-08T22:36:00.000-07:00</published><updated>2011-04-08T22:36:15.161-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AWR Oracle 10g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 10g AWR'/><category scheme='http://www.blogger.com/atom/ns#' term='AWR Report'/><category scheme='http://www.blogger.com/atom/ns#' term='AWR Features'/><title type='text'>What are the Workload Repository Views AWR Views in Oracle 10g?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;h2 style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Workload Repository Views&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;&lt;u&gt;&lt;b&gt;  The following workload repository views are available:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul style="font-family: inherit;"&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;V$ACTIVE_SESSION_HISTORY&lt;/code&gt; - Displays the active session history (ASH) sampled every second.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;V$METRIC&lt;/code&gt; - Displays metric information.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;V$METRICNAME&lt;/code&gt; - Displays the metrics associated with each metric group.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;V$METRIC_HISTORY&lt;/code&gt; - Displays historical metrics.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;V$METRICGROUP&lt;/code&gt; - Displays all metrics groups.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;DBA_HIST_ACTIVE_SESS_HISTORY&lt;/code&gt; - Displays the history contents of the active session history.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;DBA_HIST_BASELINE&lt;/code&gt; - Displays baseline information.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;DBA_HIST_DATABASE_INSTANCE&lt;/code&gt; - Displays database environment information.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;DBA_HIST_SNAPSHOT&lt;/code&gt; - Displays snapshot information.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;DBA_HIST_SQL_PLAN&lt;/code&gt; - Displays SQL execution plans.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;code&gt;DBA_HIST_WR_CONTROL&lt;/code&gt; - Displays AWR settings.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-6425413739523025037?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6425413739523025037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6425413739523025037'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/what-are-workload-repository-views-awr.html' title='What are the Workload Repository Views AWR Views in Oracle 10g?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7844305805945739366</id><published>2011-04-08T22:33:00.000-07:00</published><updated>2011-04-08T22:33:51.824-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AWR Report'/><category scheme='http://www.blogger.com/atom/ns#' term='AWR Features'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Database 10g'/><category scheme='http://www.blogger.com/atom/ns#' term='Automatic Workload Repository Report'/><title type='text'>What is AWR Report in Oracle 10g?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;h1&gt;&lt;span style="font-size: small;"&gt;Automatic Workload Repository (AWR) in Oracle Database 10g&lt;/span&gt;&lt;/h1&gt;&lt;span style="font-size: small;"&gt;  Oracle have provided many performance gathering and reporting tools over  the years. Originally the UTLBSTAT/UTLESTAT scripts were used to  monitor performance metrics. Oracle8i introduced the Statspack functionality which Oracle9i extended.  In Oracle 10g statspack has evolved into the Automatic Workload  Repository (AWR).&lt;/span&gt;&lt;br /&gt;&lt;h2&gt;&lt;span style="font-size: small;"&gt;AWR Features&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size: small;"&gt;  The AWR is used to collect performance statistics including:&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Wait events used to identify performance problems.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Time model statistics indicating the amount of DB time associated with a process from the &lt;code&gt;V$SESS_TIME_MODEL&lt;/code&gt; and &lt;code&gt;V$SYS_TIME_MODEL&lt;/code&gt; views.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Active Session History (ASH) statistics from the &lt;code&gt;V$ACTIVE_SESSION_HISTORY&lt;/code&gt; view.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Some system and session statistics from the &lt;code&gt;V$SYSSTAT&lt;/code&gt; and &lt;code&gt;V$SESSTAT&lt;/code&gt; views.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Object usage statistics.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Resource intensive SQL statements.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: small;"&gt;  The repository is a source of information for several other Oracle 10g features including:&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Automatic Database Diagnostic Monitor&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;SQL Tuning Advisor&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Undo Advisor&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;Segment Advisora&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7844305805945739366?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7844305805945739366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7844305805945739366'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/what-is-awr-report-in-oracle-10g.html' title='What is AWR Report in Oracle 10g?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5381350666801676085</id><published>2011-04-07T05:31:00.000-07:00</published><updated>2011-04-07T05:31:22.764-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Inheritance'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Inheritance'/><category scheme='http://www.blogger.com/atom/ns#' term='Inheritance in Java'/><title type='text'>Inheritance,Inheritance in Java,Java Inheritance</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;strong&gt;Q2) What is  inheritance?&lt;/strong&gt;&lt;br /&gt;&lt;div id="divQ2"&gt;             Ans) Inheritance  is the property which  allows a Child class to inherit some properties from its parent  class.  In Java this is achieved by using extends keyword. Only properties with  access modifier public and protected can be  accessed in child class.&lt;br /&gt;&lt;div class="codeBackground"&gt;       public class Parent{&lt;br /&gt;public String parentName;&lt;br /&gt;public int parentage;&lt;br /&gt;public String familyName;&lt;br /&gt;}&lt;br /&gt;public class Child extends Parent{&lt;br /&gt;public String childName;&lt;br /&gt;public int childAge;&lt;br /&gt;public void printMyName(){&lt;br /&gt;System.out.println(“ My name is “+ chidName+” “ +familyName)&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/div&gt;In above example the child has inherit its family name from the parent class just by inheriting the class.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5381350666801676085?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5381350666801676085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5381350666801676085'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/inheritanceinheritance-in-javajava.html' title='Inheritance,Inheritance in Java,Java Inheritance'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-9038305897479076794</id><published>2011-04-07T05:29:00.001-07:00</published><updated>2011-04-07T05:29:59.260-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='UNIX interview questions'/><title type='text'>UNIX interview questions</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="entry-content"&gt;                       &lt;ol&gt;&lt;li&gt;What are the main differences between Apache 1.x and 2.x?&lt;/li&gt;&lt;li&gt;What does the “route” command do?&lt;/li&gt;&lt;li&gt;What are the read/write/execute bits on a directory mean?&lt;/li&gt;&lt;li&gt;What does iostat do?&lt;/li&gt;&lt;span id="more-217"&gt;&lt;/span&gt;&lt;li&gt;what does vmstat do?&lt;/li&gt;&lt;li&gt;What does netstat do?&lt;/li&gt;&lt;li&gt;What is the most graceful way to bring a system into single user mode?&lt;/li&gt;&lt;li&gt;How do you determine disk usage?&lt;/li&gt;&lt;li&gt;What is AWK?&lt;/li&gt;&lt;li&gt;What is SED?&lt;/li&gt;&lt;li&gt;What is the difference between binaries in /bin, and /usr/bin?&lt;/li&gt;&lt;li&gt;What is a dynamically linked file?&lt;/li&gt;&lt;li&gt;What is a statically linked file?&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-9038305897479076794?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/9038305897479076794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/9038305897479076794'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/unix-interview-questions.html' title='UNIX interview questions'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-669648307204700841</id><published>2011-04-07T05:28:00.000-07:00</published><updated>2011-04-07T05:28:44.676-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Polymorphism'/><category scheme='http://www.blogger.com/atom/ns#' term='OOPS'/><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Interview Questions'/><title type='text'>Java Polymorphism - OOPS |Java - Polymorphism</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;strong&gt; Q1) What is   polymorphism? &lt;/strong&gt;&lt;br /&gt;&lt;div id="divQ1"&gt;    Ans)       &lt;strong&gt;Polymorphism&lt;/strong&gt;  gives  us the ultimate flexibility in extensibility. The abiltiy to define more  than one function with the same name is called Polymorphism. In  java,c++  there are two type of polymorphism: compile time polymorphism  (overloading) and  runtime polymorphism (overriding).&lt;br /&gt;&lt;br /&gt;When you override methods, JVM determines the proper methods to  call at the  program’s run time, not at the compile time. Overriding  occurs when a class  method has the same name and signature as a method  in parent class. &lt;br /&gt;Overloading  occurs when several methods have same names with &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Overloading  is determined at the compile time.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Different  method signature and different number or type of parameters. &lt;/li&gt;&lt;li&gt;Same  method signature but different number of parameters.&lt;/li&gt;&lt;li&gt;Same  method signature and same number of parameters but of different type&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div class="codeBackground"&gt;      Example of Overloading &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int add(int a,int b)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; float add(float a,int b)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; float add(int a ,float b)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void add(float a)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int add(int a)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void add(int a)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //error conflict with the  method int add(int a)&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;Example: Overloading&lt;/ul&gt;&lt;div class="codeBackground"&gt;&lt;br /&gt;Class BookDetails{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String title;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String publisher;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; float price;&lt;br /&gt;&lt;blockquote&gt;setBook(String title){&lt;br /&gt;}&lt;br /&gt;setBook(String title, String publisher){&lt;br /&gt;}&lt;br /&gt;setBook(String title, String publisher,float price){&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;Example: Overriding&lt;br /&gt;&lt;div class="codeBackground"&gt;        class BookDetails{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String title;        &lt;br /&gt;&lt;blockquote&gt;          setBook(String title){            }&lt;br /&gt;}                 &lt;/blockquote&gt;class ScienceBook extends BookDetails{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setBook(String title){}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //overriding&lt;br /&gt;&lt;blockquote&gt;setBook(String title, String publisher,float price){        } &amp;nbsp;//overloading&lt;br /&gt;&lt;/blockquote&gt;}&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-669648307204700841?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/669648307204700841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/669648307204700841'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/java-polymorphism-oops-java.html' title='Java Polymorphism - OOPS |Java - Polymorphism'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-6373888804624529733</id><published>2011-04-07T05:21:00.000-07:00</published><updated>2011-04-07T05:21:20.783-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life cycle of a servlet'/><category scheme='http://www.blogger.com/atom/ns#' term='Applet'/><category scheme='http://www.blogger.com/atom/ns#' term='JSP Servlets'/><category scheme='http://www.blogger.com/atom/ns#' term='JSP Directives'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Bean'/><category scheme='http://www.blogger.com/atom/ns#' term='Apache Server'/><category scheme='http://www.blogger.com/atom/ns#' term='UnicastRemoteObject'/><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='Java BDK'/><title type='text'>Java interview questions &amp; answers -Set 4</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;What is the difference between an applet and a servlet?&lt;/b&gt;- a)  Servlets are to servers what applets are to browsers. b) Applets must  have graphical user interfaces whereas servlets have no graphical user  interfaces.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between doPost and doGet methods?&lt;/b&gt;- a)  doGet() method is used to get information, while doPost() method is used  for posting information. b) doGet() requests can’t send large amount of  information and is limited to 240-255 characters. However,  doPost()requests passes all of its data, of unlimited length. c) A  doGet() request is appended to the request URL in a query string and  this allows the exchange is visible to the client, whereas a doPost()  request passes directly over the socket connection as part of its HTTP  request body and the exchange are invisible to the client.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the life cycle of a servlet?&lt;/b&gt;- Each Servlet has the  same life cycle: a) A server loads and initializes the servlet by init  () method. b) The servlet handles zero or more client’s requests through  service() method. c) The server removes the servlet through destroy()  method.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Who is loading the init() method of servlet?&lt;/b&gt;- Web server&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are the different servers available for developing and deploying Servlets?&lt;/b&gt;- a) Java Web Server b) JRun g) Apache Server h) Netscape Information Server i) Web Logic&lt;/li&gt;&lt;li&gt;&lt;b&gt;How many ways can we track client and what are they?&lt;/b&gt;- The servlet API provides two ways to track client state and they are: a) Using Session tracking and b) Using Cookies.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is session tracking and how do you track a user session in servlets?&lt;/b&gt;-  Session tracking is a mechanism that servlets use to maintain state  about a series requests from the same user across some period of time.  The methods used for session tracking are: a) User Authentication -  occurs when a web server restricts access to some of its resources to  only those clients that log in using a recognized username and password.  b) Hidden form fields - fields are added to an HTML form that are not  displayed in the client’s browser. When the form containing the fields  is submitted, the fields are sent back to the server. c) URL rewriting -  every URL that the user clicks on is dynamically modified or rewritten  to include extra information. The extra information can be in the form  of extra path information, added parameters or some custom,  server-specific URL change. d) Cookies - a bit of information that is  sent by a web server to a browser and which can later be read back from  that browser. e) HttpSession- places a limit on the number of sessions  that can exist in memory. This limit is set in the session. maxresidents  property.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is Server-Side Includes (SSI)?&lt;/b&gt;- Server-Side Includes  allows embedding servlets within HTML pages using a special servlet tag.  In many servlets that support servlets, a page can be processed by the  server to include output from servlets at certain points inside the HTML  page. This is accomplished using a special internal SSINCLUDE, which  processes the servlet tags. SSINCLUDE servlet will be invoked whenever a  file with an. shtml extension is requested. So HTML files that include  server-side includes must be stored with an . shtml extension.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are cookies and how will you use them?&lt;/b&gt;- Cookies are a  mechanism that a servlet uses to have a client hold a small amount of  state-information associated with the user. a) Create a cookie with the  Cookie constructor: public Cookie(String name, String value) b) A  servlet can send a cookie to the client by passing a Cookie object to  the addCookie() method of HttpServletResponse: public void  HttpServletResponse. addCookie(Cookie cookie) c) A servlet retrieves  cookies by calling the getCookies() method of HttpServletRequest: public  Cookie[ ] HttpServletRequest. getCookie().&lt;/li&gt;&lt;li&gt;&lt;b&gt;Is it possible to communicate from an applet to servlet and how many ways and how?&lt;/b&gt;-  Yes, there are three ways to communicate from an applet to servlet and  they are: a) HTTP Communication(Text-based and object-based) b) Socket  Communication c) RMI Communication&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is connection pooling?&lt;/b&gt;- With servlets, opening a  database connection is a major bottleneck because we are creating and  tearing down a new connection for every page request and the time taken  to create connection will be more. Creating a connection pool is an  ideal approach for a complicated servlet. With a connection pool, we can  duplicate only the resources we need to duplicate rather than the  entire servlet. A connection pool can also intelligently manage the size  of the pool and make sure each connection remains valid. A number of  connection pool packages are currently available. Some like  DbConnectionBroker are freely available from Java Exchange Works by  creating an object that dispenses connections and connection Ids on  request. The ConnectionPool class maintains a Hastable, using Connection  objects as keys and Boolean values as stored values. The Boolean value  indicates whether a connection is in use or not. A program calls  getConnection() method of the ConnectionPool for getting Connection  object it can use; it calls returnConnection() to give the connection  back to the pool.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Why should we go for interservlet communication?&lt;/b&gt;- Servlets  running together in the same server communicate with each other in  several ways. The three major reasons to use interservlet communication  are: a) Direct servlet manipulation - allows to gain access to the other  currently loaded servlets and perform certain tasks (through the  ServletContext object) b) Servlet reuse - allows the servlet to reuse  the public methods of another servlet. c) Servlet collaboration -  requires to communicate with each other by sharing specific information  (through method invocation)&lt;/li&gt;&lt;li&gt;&lt;b&gt;Is it possible to call servlet with parameters in the URL?&lt;/b&gt;- Yes. You can call a servlet with parameters in the syntax as (?Param1 = xxx || m2 = yyy).&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is Servlet chaining?&lt;/b&gt;- Servlet chaining is a technique in  which two or more servlets can cooperate in servicing a single request.  In servlet chaining, one servlet’s output is piped to the next  servlet’s input. This process continues until the last servlet is  reached. Its output is then sent back to the client.&lt;/li&gt;&lt;li&gt;&lt;b&gt;How do servlets handle multiple simultaneous requests?&lt;/b&gt;- The  server has multiple threads that are available to handle requests. When a  request comes in, it is assigned to a thread, which calls a service  method (for example: doGet(), doPost() and service()) of the servlet.  For this reason, a single servlet object can have its service methods  called by many threads at once.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between TCP/IP and UDP?&lt;/b&gt;- TCP/IP is a  two-way communication between the client and the server and it is a  reliable and there is a confirmation regarding reaching the message to  the destination. It is like a phone call. UDP is a one-way communication  only between the client and the server and it is not a reliable and  there is no confirmation regarding reaching the message to the  destination. It is like a postal mail.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is Inet address?&lt;/b&gt;- Every computer connected to a network  has an IP address. An IP address is a number that uniquely identifies  each computer on the Net. An IP address is a 32-bit number.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is Domain Naming Service(DNS)?&lt;/b&gt;- It is very difficult to  remember a set of numbers(IP address) to connect to the Internet. The  Domain Naming Service(DNS) is used to overcome this problem. It maps one  particular IP address to a string of characters. For example, www.  mascom. com implies com is the domain name reserved for US commercial  sites, moscom is the name of the company and www is the name of the  specific computer, which is mascom’s server.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is URL?&lt;/b&gt;- URL stands for Uniform Resource Locator and it  points to resource files on the Internet. URL has four components:  http://www. address. com:80/index.html, where http - protocol name,  address - IP address or host name, 80 - port number and index.html -  file path.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is RMI and steps involved in developing an RMI object?&lt;/b&gt;-  Remote Method Invocation (RMI) allows java object that executes on one  machine and to invoke the method of a Java object to execute on another  machine. The steps involved in developing an RMI object are: a) Define  the interfaces b) Implementing these interfaces c) Compile the  interfaces and their implementations with the java compiler d) Compile  the server implementation with RMI compiler e) Run the RMI registry f)  Run the application&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is RMI architecture?&lt;/b&gt;- RMI architecture consists of four  layers and each layer performs specific functions: a) Application layer -  contains the actual object definition. b) Proxy layer - consists of  stub and skeleton. c) Remote Reference layer - gets the stream of bytes  from the transport layer and sends it to the proxy layer. d)  Transportation layer - responsible for handling the actual  machine-to-machine communication.&lt;/li&gt;&lt;li&gt;&lt;b&gt;what is UnicastRemoteObject?&lt;/b&gt;- All remote objects must extend  UnicastRemoteObject, which provides functionality that is needed to make  objects available from remote machines.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Explain the methods, rebind() and lookup() in Naming class?&lt;/b&gt;-  rebind() of the Naming class(found in java. rmi) is used to update the  RMI registry on the server machine. Naming. rebind(”AddSever”,  AddServerImpl); lookup() of the Naming class accepts one argument, the  rmi URL and returns a reference to an object of type AddServerImpl.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is a Java Bean?&lt;/b&gt;- A Java Bean is a software component that has been designed to be reusable in a variety of different environments.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is a Jar file?&lt;/b&gt;- Jar file allows to efficiently deploying  a set of classes and their associated resources. The elements in a jar  file are compressed, which makes downloading a Jar file much faster than  separately downloading several uncompressed files. The package java.  util. zip contains classes that read and write jar files.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is BDK?&lt;/b&gt;- BDK, Bean Development Kit is a tool that  enables to create, configure and connect a set of set of Beans and it  can be used to test Beans without writing a code.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is JSP?&lt;/b&gt;- JSP is a dynamic scripting capability for web  pages that allows Java as well as a few special tags to be embedded into  a web file (HTML/XML, etc). The suffix traditionally ends with .jsp to  indicate to the web server that the file is a JSP files. JSP is a server  side technology - you can’t do any client side validation with it. The  advantages are: a) The JSP assists in making the HTML more functional.  Servlets on the other hand allow outputting of HTML but it is a tedious  process. b) It is easy to make a change and then let the JSP capability  of the web server you are using deal with compiling it into a servlet  and running it.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are JSP scripting elements?&lt;/b&gt;- JSP scripting elements lets  to insert Java code into the servlet that will be generated from the  current JSP page. There are three forms: a) Expressions of the form  &amp;lt;%= expression %&amp;gt; that are evaluated and inserted into the output,  b) Scriptlets of the form&amp;lt;% code %&amp;gt;that are inserted into the  servlet’s service method, and c) Declarations of the form &amp;lt;%! Code  %&amp;gt;that are inserted into the body of the servlet class, outside of  any existing methods.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are JSP Directives?&lt;/b&gt;- A JSP directive affects the overall  structure of the servlet class. It usually has the following  form:&amp;lt;%@ directive attribute=”value” %&amp;gt; However, you can also  combine multiple attribute settings for a single directive, as  follows:&amp;lt;%@ directive attribute1=”value1″ attribute 2=”value2″ . . .  attributeN =”valueN” %&amp;gt; There are two main types of directive: page,  which lets to do things like import classes, customize the servlet  superclass, and the like; and include, which lets to insert a file into  the servlet class at the time the JSP file is translated into a servlet&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are Predefined variables or implicit objects?&lt;/b&gt;- To  simplify code in JSP expressions and scriptlets, we can use eight  automatically defined variables, sometimes called implicit objects. They  are request, response, out, session, application, config, pageContext,  and page.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are JSP ACTIONS?&lt;/b&gt;- JSP actions use constructs in XML  syntax to control the behavior of the servlet engine. You can  dynamically insert a file, reuse JavaBeans components, forward the user  to another page, or generate HTML for the Java plugin. Available actions  include: jsp:include - Include a file at the time the page is  requested. jsp:useBean - Find or instantiate a JavaBean. jsp:setProperty  - Set the property of a JavaBean. jsp:getProperty - Insert the property  of a JavaBean into the output. jsp:forward - Forward the requester to a  newpage. Jsp: plugin - Generate browser-specific code that makes an  OBJECT or EMBED&lt;/li&gt;&lt;li&gt;&lt;b&gt;How do you pass data (including JavaBeans) to a JSP from a servlet?&lt;/b&gt;-  (1) Request Lifetime: Using this technique to pass beans, a request  dispatcher (using either “include” or forward”) can be called. This bean  will disappear after processing this request has been completed.  Servlet: request. setAttribute(”theBean”, myBean); RequestDispatcher rd =  getServletContext(). getRequestDispatcher(”thepage. jsp”); rd.  forward(request, response); JSP PAGE:&lt;jsp: .="" class="”." id="”theBean”" scope="”request”" usebean="" ”=""&gt;(2) Session Lifetime: Using this  technique to pass beans that are relevant to a particular session (such  as in individual user login) over a number of requests. This bean will  disappear when the session is invalidated or it times out, or when you  remove it. Servlet: HttpSession session = request. getSession(true);  session. putValue(”theBean”, myBean); /* You can do a request dispatcher  here, or just let the bean be visible on the next request */ JSP  Page:&lt;jsp:usebean .="" class="”." id="”theBean”" scope="”session”" ”=""&gt;  3) Application Lifetime: Using this technique to pass beans that are  relevant to all servlets and JSP pages in a particular app, for all  users. For example, I use this to make a JDBC connection pool object  available to the various servlets and JSP pages in my apps. This bean  will disappear when the servlet engine is shut down, or when you remove  it. Servlet: GetServletContext(). setAttribute(”theBean”, myBean); JSP  PAGE:&lt;jsp:usebean .="" class="”." id="”theBean”" scope="”application”" ”=""&gt;&lt;/jsp:usebean&gt;&lt;/jsp:usebean&gt;&lt;/jsp:&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;How can I set a cookie in JSP?&lt;/b&gt;- response.  setHeader(”Set-Cookie”, “cookie string”); To give the response-object to  a bean, write a method setResponse (HttpServletResponse response) - to  the bean, and in jsp-file:&amp;lt;% bean. setResponse (response); %&amp;gt; &lt;/li&gt;&lt;li&gt;&lt;b&gt;How can I delete a cookie with JSP?&lt;/b&gt;- Say that I have a  cookie called “foo, ” that I set a while ago &amp;amp; I want it to go away.  I simply: &amp;lt;% Cookie killCookie = new Cookie(”foo”, null);  KillCookie. setPath(”/”); killCookie. setMaxAge(0); response.  addCookie(killCookie); %&amp;gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;How are Servlets and JSP Pages related?&lt;/b&gt;- JSP pages are  focused around HTML (or XML) with Java codes and JSP tags inside them.  When a web server that has JSP support is asked for a JSP page, it  checks to see if it has already compiled the page into a servlet. Thus,  JSP pages become servlets and are transformed into pure Java and then  compiled, loaded into the server and executed.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-6373888804624529733?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6373888804624529733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6373888804624529733'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/java-interview-questions-answers-set-4_07.html' title='Java interview questions &amp; answers -Set 4'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-1878067857290595196</id><published>2011-04-07T05:18:00.000-07:00</published><updated>2011-04-07T05:18:40.157-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='stored procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='ODBC'/><category scheme='http://www.blogger.com/atom/ns#' term='Hashtable'/><category scheme='http://www.blogger.com/atom/ns#' term='interfaces'/><category scheme='http://www.blogger.com/atom/ns#' term='JDBC-ODBC Bridge driver'/><category scheme='http://www.blogger.com/atom/ns#' term='JDBC Driver Models'/><category scheme='http://www.blogger.com/atom/ns#' term='Enumeration'/><category scheme='http://www.blogger.com/atom/ns#' term='servlets'/><category scheme='http://www.blogger.com/atom/ns#' term='LinkedList'/><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Interview Questions'/><title type='text'>Java interview questions &amp; answers -Set 4</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;b&gt;Which containers use a Border layout as their default layout?&lt;/b&gt;- Window, Frame and Dialog classes use a BorderLayout as their layout.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Which containers use a Flow layout as their default layout?&lt;/b&gt;- Panel and Applet classes use the FlowLayout as their default layout.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are wrapper classes?&lt;/b&gt;- Wrapper classes are classes that allow primitive types to be accessed as objects.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are Vector, Hashtable, LinkedList and Enumeration?&lt;/b&gt;-  Vector : The Vector class provides the capability to implement a  growable array of objects. Hashtable : The Hashtable class implements a  Hashtable data structure. A Hashtable indexes and stores objects in a  dictionary using hash codes as the object’s keys. Hash codes are integer  values that identify objects. LinkedList: Removing or inserting  elements in the middle of an array can be done using LinkedList. A  LinkedList stores each object in a separate link whereas an array stores  object references in consecutive locations. Enumeration: An object that  implements the Enumeration interface generates a series of elements,  one at a time. It has two methods, namely hasMoreElements() and  nextElement(). HasMoreElemnts() tests if this enumeration has more  elements and nextElement method returns successive elements of the  series.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between set and list?&lt;/b&gt;- Set stores  elements in an unordered way but does not contain duplicate elements,  whereas list stores elements in an ordered way but may contain duplicate  elements.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is a stream and what are the types of Streams and classes of the Streams?&lt;/b&gt;-  A Stream is an abstraction that either produces or consumes  information. There are two types of Streams and they are: Byte Streams:  Provide a convenient means for handling input and output of bytes.  Character Streams: Provide a convenient means for handling input &amp;amp;  output of characters. Byte Streams classes: Are defined by using two  abstract classes, namely InputStream and OutputStream. Character Streams  classes: Are defined by using two abstract classes, namely Reader and  Writer.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between Reader/Writer and InputStream/Output Stream?&lt;/b&gt;- The Reader/Writer class is character-oriented and the InputStream/OutputStream class is byte-oriented.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is an I/O filter?&lt;/b&gt;- An I/O filter is an object that reads  from one stream and writes to another, usually altering the data in  some way as it is passed from one stream to another.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is serialization and deserialization?&lt;/b&gt;- Serialization is  the process of writing the state of an object to a byte stream.  Deserialization is the process of restoring these objects.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is JDBC?&lt;/b&gt;- JDBC is a set of Java API for executing SQL  statements. This API consists of a set of classes and interfaces to  enable programs to write pure Java Database applications.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are drivers available?&lt;/b&gt;- a) JDBC-ODBC Bridge driver b) Native API Partly-Java driver c) JDBC-Net Pure Java driver d) Native-Protocol Pure Java driver&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between JDBC and ODBC?&lt;/b&gt;- a) OBDC is for  Microsoft and JDBC is for Java applications. b) ODBC can’t be directly  used with Java because it uses a C interface. c) ODBC makes use of  pointers which have been removed totally from Java. d) ODBC mixes simple  and advanced features together and has complex options for simple  queries. But JDBC is designed to keep things simple while allowing  advanced capabilities when required. e) ODBC requires manual  installation of the ODBC driver manager and driver on all client  machines. JDBC drivers are written in Java and JDBC code is  automatically installable, secure, and portable on all platforms. f)  JDBC API is a natural Java interface and is built on ODBC. JDBC retains  some of the basic features of ODBC.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are the types of JDBC Driver Models and explain them?&lt;/b&gt;-  There are two types of JDBC Driver Models and they are: a) Two tier  model and b) Three tier model Two tier model: In this model, Java  applications interact directly with the database. A JDBC driver is  required to communicate with the particular database management system  that is being accessed. SQL statements are sent to the database and the  results are given to user. This model is referred to as client/server  configuration where user is the client and the machine that has the  database is called as the server. Three tier model: A middle tier is  introduced in this model. The functions of this model are: a) Collection  of SQL statements from the client and handing it over to the database,  b) Receiving results from database to the client and c) Maintaining  control over accessing and updating of the above.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are the steps involved for making a connection with a database or how do you connect to a database?&lt;/b&gt;a)  Loading the driver : To load the driver, Class. forName() method is  used. Class. forName(”sun. jdbc. odbc. JdbcOdbcDriver”); When the driver  is loaded, it registers itself with the java. sql. DriverManager class  as an available database driver. b) Making a connection with database:  To open a connection to a given database, DriverManager. getConnection()  method is used. Connection con = DriverManager. getConnection  (”jdbc:odbc:somedb”, “user”, “password”); c) Executing SQL statements :  To execute a SQL query, java. sql. statements class is used.  createStatement() method of Connection to obtain a new Statement object.  Statement stmt = con. createStatement(); A query that returns data can  be executed using the executeQuery() method of Statement. This method  executes the statement and returns a java. sql. ResultSet that  encapsulates the retrieved data: ResultSet rs = stmt.  executeQuery(”SELECT * FROM some table”); d) Process the results :  ResultSet returns one row at a time. Next() method of ResultSet object  can be called to move to the next row. The getString() and getObject()  methods are used for retrieving column values: while(rs. next()) {  String event = rs. getString(”event”); Object count = (Integer) rs.  getObject(”count”);&lt;/li&gt;&lt;li&gt;&lt;b&gt;What type of driver did you use in project?&lt;/b&gt;- JDBC-ODBC Bridge  driver (is a driver that uses native(C language) libraries and makes  calls to an existing ODBC driver to access a database engine).&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are the types of statements in JDBC?&lt;/b&gt;- Statement: to be  used createStatement() method for executing single SQL statement  PreparedStatement — To be used preparedStatement() method for executing  same SQL statement over and over. CallableStatement — To be used  prepareCall() method for multiple SQL statements over and over.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is stored procedure?&lt;/b&gt;- Stored procedure is a group of SQL  statements that forms a logical unit and performs a particular task.  Stored Procedures are used to encapsulate a set of operations or queries  to execute on database. Stored procedures can be compiled and executed  with different parameters and results and may have any combination of  input/output parameters.&lt;/li&gt;&lt;li&gt;&lt;b&gt;How to create and call stored procedures?&lt;/b&gt;- To create stored  procedures: Create procedure procedurename (specify in, out and in out  parameters) BEGIN Any multiple SQL statement; END; To call stored  procedures: CallableStatement csmt = con. prepareCall(”{call procedure  name(?,?)}”); csmt. registerOutParameter(column no. , data type); csmt.  setInt(column no. , column name) csmt. execute();&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is servlet?&lt;/b&gt;- Servlets are modules that extend  request/response-oriented servers, such as java-enabled web servers. For  example, a servlet might be responsible for taking data in an HTML  order-entry form and applying the business logic used to update a  company’s order database.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are the classes and interfaces for servlets?&lt;/b&gt;- There are two packages in servlets and they are javax. servlet &lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-1878067857290595196?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1878067857290595196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1878067857290595196'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/java-interview-questions-answers-set-4.html' title='Java interview questions &amp; answers -Set 4'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-7208616971206631632</id><published>2011-04-07T05:16:00.000-07:00</published><updated>2011-04-07T05:16:17.832-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSP'/><category scheme='http://www.blogger.com/atom/ns#' term='JDBC Connectivity'/><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Interview Questions'/><title type='text'>Java interview questions &amp; answers -Set 3</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;b&gt;What is synchronization?&lt;/b&gt;- Synchronization is the mechanism that ensures that only one thread is accessed the resources at a time.&lt;/li&gt;&lt;li&gt;&lt;b&gt;When you will synchronize a piece of your code?&lt;/b&gt;- When you  expect your code will be accessed by different threads and these threads  may change a particular data causing data corruption.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is deadlock?&lt;/b&gt;- When two threads are waiting each other and can’t precede the program is said to be deadlock.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is daemon thread and which method is used to create the daemon thread?&lt;/b&gt;-  Daemon thread is a low priority thread which runs intermittently in the  back ground doing the garbage collection operation for the java runtime  system. setDaemon method is used to create a daemon thread.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Are there any global variables in Java, which can be accessed by other part of your program?&lt;/b&gt;-  No, it is not the main method in which you define variables. Global  variables is not possible because concept of encapsulation is eliminated  here.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is an applet?&lt;/b&gt;- Applet is a dynamic and interactive program that runs inside a web page displayed by a java capable browser.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between applications and applets?&lt;/b&gt;-  a)Application must be run on local machine whereas applet needs no  explicit installation on local machine. b)Application must be run  explicitly within a java-compatible virtual machine whereas applet loads  and runs itself automatically in a java-enabled browser. d)Application  starts execution with its main method whereas applet starts execution  with its init method. e)Application can run with or without graphical  user interface whereas applet must run within a graphical user  interface.&lt;/li&gt;&lt;li&gt;&lt;b&gt;How does applet recognize the height and width?&lt;/b&gt;- Using getParameters() method.&lt;/li&gt;&lt;li&gt;&lt;b&gt;When do you use codebase in applet?&lt;/b&gt;- When the applet class file is not in the same directory, codebase is used.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the lifecycle of an applet?&lt;/b&gt;- init() method - Can be  called when an applet is first loaded start() method - Can be called  each time an applet is started. paint() method - Can be called when the  applet is minimized or maximized. stop() method - Can be used when the  browser moves off the applet’s page. destroy() method - Can be called  when the browser is finished with the applet.&lt;/li&gt;&lt;li&gt;&lt;b&gt;How do you set security in applets?&lt;/b&gt;- using setSecurityManager() method&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is an event and what are the models available for event handling?&lt;/b&gt;-  An event is an event object that describes a state of change in a  source. In other words, event occurs when an action is generated, like  pressing button, clicking mouse, selecting a list, etc. There are two  types of models for handling events and they are: a) event-inheritance  model and b) event-delegation model&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are the advantages of the model over the event-inheritance model?&lt;/b&gt;-  The event-delegation model has two advantages over the  event-inheritance model. They are: a)It enables event handling by  objects other than the ones that generate the events. This allows a  clean separation between a component’s design and its use. b)It performs  much better in applications where many events are generated. This  performance improvement is due to the fact that the event-delegation  model does not have to be repeatedly process unhandled events as is the  case of the event-inheritance.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is source and listener?&lt;/b&gt;- source : A source is an object  that generates an event. This occurs when the internal state of that  object changes in some way. listener : A listener is an object that is  notified when an event occurs. It has two major requirements. First, it  must have been registered with one or more sources to receive  notifications about specific types of events. Second, it must implement  methods to receive and process these notifications.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is adapter class?&lt;/b&gt;- An adapter class provides an empty  implementation of all methods in an event listener interface. Adapter  classes are useful when you want to receive and process only some of the  events that are handled by a particular event listener interface. You  can define a new class to act listener by extending one of the adapter  classes and implementing only those events in which you are interested.  For example, the MouseMotionAdapter class has two methods,  mouseDragged()and mouseMoved(). The signatures of these empty are  exactly as defined in the MouseMotionListener interface. If you are  interested in only mouse drag events, then you could simply extend  MouseMotionAdapter and implement mouseDragged() .&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is meant by controls and what are different types of controls in AWT?&lt;/b&gt;-  Controls are components that allow a user to interact with your  application and the AWT supports the following types of controls:  Labels, Push Buttons, Check Boxes, Choice Lists, Lists, Scrollbars, Text  Components. These controls are subclasses of Component.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between choice and list?&lt;/b&gt;- A Choice is  displayed in a compact form that requires you to pull it down to see the  list of available choices and only one item may be selected from a  choice. A List may be displayed in such a way that several list items  are visible and it supports the selection of one or more list items.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between scrollbar and scrollpane?&lt;/b&gt;- A  Scrollbar is a Component, but not a Container whereas Scrollpane is a  Conatiner and handles its own events and perform its own scrolling.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is a layout manager and what are different types of layout managers available in java AWT?&lt;/b&gt;-  A layout manager is an object that is used to organize components in a  container. The different layouts are available are FlowLayout,  BorderLayout, CardLayout, GridLayout and GridBagLayout.&lt;/li&gt;&lt;li&gt;&lt;b&gt;How are the elements of different layouts organized?&lt;/b&gt;-  FlowLayout: The elements of a FlowLayout are organized in a top to  bottom, left to right fashion. BorderLayout: The elements of a  BorderLayout are organized at the borders (North, South, East and West)  and the center of a container. CardLayout: The elements of a CardLayout  are stacked, on top of the other, like a deck of cards. GridLayout: The  elements of a GridLayout are of equal size and are laid out using the  square of a grid. GridBagLayout: The elements of a GridBagLayout are  organized according to a grid. However, the elements are of different  size and may occupy more than one row or column of the grid. In  addition, the rows and columns may have different sizes.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-7208616971206631632?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7208616971206631632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/7208616971206631632'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/java-interview-questions-answers-set-3.html' title='Java interview questions &amp; answers -Set 3'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5228729896354971109</id><published>2011-04-07T05:15:00.000-07:00</published><updated>2011-04-07T05:15:03.676-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSP'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='JDBC Connectivity'/><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='AWT'/><title type='text'>Java interview questions &amp; answers -Set 2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;b&gt;What is meant by Inheritance and what are its advantages?&lt;/b&gt;-  Inheritance is the process of inheriting all the features from a class.  The advantages of inheritance are reusability of code and accessibility  of variables and methods of the super class by subclasses.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between this() and super()?&lt;/b&gt;- this() can be used to invoke a constructor of the same class whereas super() can be used to invoke a super class constructor.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between superclass and subclass?&lt;/b&gt;- A super class is a class that is inherited whereas sub class is a class that does the inheriting.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What modifiers may be used with top-level class?&lt;/b&gt;- public, abstract and final can be used for top-level class.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are inner class and anonymous class?&lt;/b&gt;- Inner class :  classes defined in other classes, including those defined in methods are  called inner classes. An inner class can have any accessibility  including private. Anonymous class : Anonymous class is a class defined  inside a method without a name and is instantiated and declared in the  same place and cannot have explicit constructors.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is a package?&lt;/b&gt;- A package is a collection of classes and  interfaces that provides a high-level layer of access protection and  name space management.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is a reflection package?&lt;/b&gt;- java. lang. reflect package has the ability to analyze itself in runtime.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is interface and its use?&lt;/b&gt;- Interface is similar to a  class which may contain method’s signature only but not bodies and it is  a formal set of method and constant declarations that must be defined  by the class that implements it. Interfaces are useful for: a)Declaring  methods that one or more classes are expected to implement b)Capturing  similarities between unrelated classes without forcing a class  relationship. c)Determining an object’s programming interface without  revealing the actual body of the class.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is an abstract class?&lt;/b&gt;- An abstract class is a class designed with implementation gaps for subclasses to fill in and is deliberately incomplete.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between Integer and int?&lt;/b&gt;- a) Integer  is a class defined in the java. lang package, whereas int is a primitive  data type defined in the Java language itself. Java does not  automatically convert from one to the other. b) Integer can be used as  an argument for a method that requires an object, whereas int can be  used for calculations.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is a cloneable interface and how many methods does it contain?&lt;/b&gt;- It is not having any method because it is a TAGGED or MARKER interface.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between abstract class and interface?&lt;/b&gt;-  a) All the methods declared inside an interface are abstract whereas  abstract class must have at least one abstract method and others may be  concrete or abstract. b) In abstract class, key word abstract must be  used for the methods whereas interface we need not use that keyword for  the methods. c) Abstract class must have subclasses whereas interface  can’t have subclasses.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Can you have an inner class inside a method and what variables can you access?&lt;/b&gt;- Yes, we can have an inner class inside a method and final variables can be accessed.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between String and String Buffer?&lt;/b&gt;- a)  String objects are constants and immutable whereas StringBuffer objects  are not. b) String class supports constant strings whereas StringBuffer  class supports growable and modifiable strings.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between Array and vector?&lt;/b&gt;- Array is a set of related data type and static whereas vector is a growable array of objects and dynamic.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between exception and error?&lt;/b&gt;- The  exception class defines mild error conditions that your program  encounters. Exceptions can occur when trying to open the file, which  does not exist, the network connection is disrupted, operands being  manipulated are out of prescribed ranges, the class file you are  interested in loading is missing. The error class defines serious error  conditions that you should not attempt to recover from. In most cases it  is advisable to let the program terminate when such an error is  encountered.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between process and thread?&lt;/b&gt;- Process is a program in execution whereas thread is a separate path of execution in a program.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is multithreading and what are the methods for inter-thread  communication and what is the class in which these methods are defined?&lt;/b&gt;-  Multithreading is the mechanism in which more than one thread run  independent of each other within the process. wait (), notify () and  notifyAll() methods can be used for inter-thread communication and these  methods are in Object class. wait() : When a thread executes a call to  wait() method, it surrenders the object lock and enters into a waiting  state. notify() or notifyAll() : To remove a thread from the waiting  state, some other thread must make a call to notify() or notifyAll()  method on the same object.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the class and interface in java to create thread and which is the most advantageous method?&lt;/b&gt;-  Thread class and Runnable interface can be used to create threads and  using Runnable interface is the most advantageous method to create  threads because we need not extend thread class here.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are the states associated in the thread?&lt;/b&gt;- Thread contains ready, running, waiting and dead states.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5228729896354971109?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5228729896354971109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5228729896354971109'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/java-interview-questions-answers-set-2.html' title='Java interview questions &amp; answers -Set 2'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-8189693036123023461</id><published>2011-04-07T05:13:00.000-07:00</published><updated>2011-04-07T05:13:05.697-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSP'/><category scheme='http://www.blogger.com/atom/ns#' term='JDBC Connectivity'/><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='AWT'/><title type='text'>Java interview questions &amp; answers -Set 1</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;overs everything from basics to JDBC connectivity, AWT and JSP.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;What is the difference between procedural and object-oriented programs?&lt;/b&gt;-  a) In procedural program, programming logic follows certain procedures  and the instructions are executed one after another. In OOP program,  unit of program is object, which is nothing but combination of data and  code. b) In procedural program, data is exposed to the whole program  whereas in OOPs program, it is accessible with in the object and which  in turn assures the security of the code.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are Encapsulation, Inheritance and Polymorphism?&lt;/b&gt;-  Encapsulation is the mechanism that binds together code and data it  manipulates and keeps both safe from outside interference and misuse.  Inheritance is the process by which one object acquires the properties  of another object. Polymorphism is the feature that allows one interface  to be used for general class actions.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between Assignment and Initialization?&lt;/b&gt;- Assignment can be done as many times as desired whereas initialization can be done only once.&lt;/li&gt;&lt;span id="more-214"&gt;&lt;/span&gt;&lt;li&gt;&lt;b&gt;What is OOPs?&lt;/b&gt;- Object oriented programming organizes a  program around its data, i. e. , objects and a set of well defined  interfaces to that data. An object-oriented program can be characterized  as data controlling access to code.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are Class, Constructor and Primitive data types?&lt;/b&gt;- Class  is a template for multiple objects with similar features and it is a  blue print for objects. It defines a type of object according to the  data the object can hold and the operations the object can perform.  Constructor is a special kind of method that determines how an object is  initialized when created. Primitive data types are 8 types and they  are: byte, short, int, long, float, double, boolean, char.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is an Object and how do you allocate memory to it?&lt;/b&gt;-  Object is an instance of a class and it is a software unit that combines  a structured set of data with a set of operations for inspecting and  manipulating that data. When an object is created using new operator,  memory is allocated to it.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between constructor and method?&lt;/b&gt;- Constructor will be automatically invoked when an object is created whereas method has to be called explicitly.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are methods and how are they defined?&lt;/b&gt;- Methods are  functions that operate on instances of classes in which they are  defined. Objects can communicate with each other using methods and can  call methods in other classes. Method definition has four parts. They  are name of the method, type of object or primitive type the method  returns, a list of parameters and the body of the method. A method’s  signature is a combination of the first three parts mentioned above.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the use of bin and lib in JDK?&lt;/b&gt;- Bin contains all tools such as javac, appletviewer, awt tool, etc., whereas lib contains API and all packages.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is casting?&lt;/b&gt;- Casting is used to convert the value of one type to another.&lt;/li&gt;&lt;li&gt;&lt;b&gt;How many ways can an argument be passed to a subroutine and explain them?&lt;/b&gt;-  An argument can be passed in two ways. They are passing by value and  passing by reference. Passing by value: This method copies the value of  an argument into the formal parameter of the subroutine. Passing by  reference: In this method, a reference to an argument (not the value of  the argument) is passed to the parameter.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is the difference between an argument and a parameter?&lt;/b&gt;-  While defining method, variables passed in the method are called  parameters. While using those methods, values passed to those variables  are called arguments.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are different types of access modifiers?&lt;/b&gt;- public: Any  thing declared as public can be accessed from anywhere. private: Any  thing declared as private can’t be seen outside of its class. protected:  Any thing declared as protected can be accessed by classes in the same  package and subclasses in the other packages. default modifier : Can be  accessed only to classes in the same package.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is final, finalize() and finally?&lt;/b&gt;- final : final keyword  can be used for class, method and variables. A final class cannot be  subclassed and it prevents other programmers from subclassing a secure  class to invoke insecure methods. A final method can’t be overridden. A  final variable can’t change from its initialized value. finalize() :  finalize() method is used just before an object is destroyed and can be  called just prior to garbage collection. finally : finally, a key word  used in exception handling, creates a block of code that will be  executed after a try/catch block has completed and before the code  following the try/catch block. The finally block will execute whether or  not an exception is thrown. For example, if a method opens a file upon  exit, then you will not want the code that closes the file to be  bypassed by the exception-handling mechanism. This finally keyword is  designed to address this contingency.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is UNICODE?&lt;/b&gt;- Unicode is used for internal representation of characters and strings and it uses 16 bits to represent each other.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is Garbage Collection and how to call it explicitly?&lt;/b&gt;-  When an object is no longer referred to by any variable, java  automatically reclaims memory used by that object. This is known as  garbage collection. System. gc() method may be used to call it  explicitly.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is finalize() method?&lt;/b&gt;- finalize () method is used just before an object is destroyed and can be called just prior to garbage collection.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What are Transient and Volatile Modifiers?&lt;/b&gt;- Transient: The  transient modifier applies to variables only and it is not stored as  part of its object’s Persistent state. Transient variables are not  serialized. Volatile: Volatile modifier applies to variables only and it  tells the compiler that the variable modified by volatile can be  changed unexpectedly by other parts of the program.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is method overloading and method overriding?&lt;/b&gt;- Method  overloading: When a method in a class having the same method name with  different arguments is said to be method overloading. Method overriding :  When a method in a class having the same method name with same  arguments is said to be method overriding.&lt;/li&gt;&lt;li&gt;&lt;b&gt;What is difference between overloading and overriding?&lt;/b&gt;- a) In  overloading, there is a relationship between methods available in the  same class whereas in overriding, there is relationship between a  superclass method and subclass method. b) Overloading does not block  inheritance from the superclass whereas overriding blocks inheritance  from the superclass. c) In overloading, separate methods share the same  name whereas in overriding, subclass method replaces the superclass. d)  Overloading must have different method signatures whereas overriding  must have same signature.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-8189693036123023461?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8189693036123023461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8189693036123023461'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/java-interview-questions-answers-set-1.html' title='Java interview questions &amp; answers -Set 1'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-4279200583814072309</id><published>2011-04-07T05:10:00.000-07:00</published><updated>2011-04-07T05:10:44.516-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Package Interview questions'/><category scheme='http://www.blogger.com/atom/ns#' term='Java lang package interview questions'/><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Interview Questions'/><title type='text'>Java Package Interview questions |Java lang package interview questions</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;strong&gt;Which package is always imported by default?&lt;/strong&gt;&lt;br /&gt;No. It is by default loaded internally by the JVM. The java.lang package is always imported by default.&lt;br /&gt;&lt;strong&gt;Can I import same package/class twice? Will the JVM load the package twice at runtime?&lt;/strong&gt;&lt;br /&gt;One can import the same package or same class multiple times. Neither compiler nor JVM complains anything about it.                        And the JVM will internally load the class only once no matter how many times you import the same class. &lt;br /&gt;&lt;strong&gt;Does importing a package imports the sub packages as well? E.g. Does importing com.bob.* also import com.bob.code.*?&lt;/strong&gt;&lt;br /&gt;No you will have to import the sub packages explicitly. Importing com.bob.* will import classes in the package bob only.                         It will not import any class in any of its sub package’s. &lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Explain the usage of Java packages.&lt;/strong&gt;&lt;br /&gt;A Java package is a naming context for classes  and interfaces. A package is used to create a separate name space for                         groups of classes and interfaces. Packages are  also used to organize related classes and interfaces into a single API                         unit and to control accessibility to these classes  and interfaces.&lt;br /&gt;&lt;span class="text5"&gt;For example:&lt;/span&gt; The Java API is grouped into libraries of related classes and interfaces; these libraries are known as package.&lt;br /&gt;&lt;strong&gt;Are the imports checked for validity at compile time? e.g. will the code containing an import such as java.lang.BOB compile?&lt;/strong&gt;&lt;br /&gt;Yes the imports are checked for the semantic  validity at compile time. The code containing above line of import will  not compile.                         It will throw an error saying, cannot resolve  symbol.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-4279200583814072309?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4279200583814072309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4279200583814072309'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/java-package-interview-questions-java.html' title='Java Package Interview questions |Java lang package interview questions'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-257731945411131658</id><published>2011-04-07T05:08:00.000-07:00</published><updated>2011-04-07T05:08:27.089-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Garbage Collection Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Interview Questions'/><title type='text'>Java Garbage Collection Interview Questions |Garbage Collector - Java Interview Questions</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;table cellspacing="5" width=""&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Q1) If an object becomes eligible for Garbage  Collection and its finalize() method has been called and inside this  method the object becomes accessible by a live thread of execution and  is not garbage collected. Later at some point the same object becomes  eligible for Garbage collection, will the finalize() method be called  again?&lt;/strong&gt;&lt;br /&gt;Ans) No&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td&gt;&lt;strong&gt;Q2) How many times does the garbage collector calls the finalize() method for an object?&lt;/strong&gt;&lt;br /&gt;Ans) Only once.&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td&gt;&lt;strong&gt;Q3) What happens if an uncaught exception is thrown from during the execution of the finalize() method of an object?  &lt;/strong&gt;  &lt;br /&gt;Ans) The exception will be ignored and the garbage collection (finalization) of that object terminates.&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td&gt;&lt;strong&gt;Q4) What are different ways to call garbage collector?&lt;/strong&gt;  &lt;br /&gt;Ans) Garbage collection can be invoked using &lt;strong&gt;System.gc() or Runtime.getRuntime().gc()&lt;/strong&gt;.&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td&gt;&lt;strong&gt; Q5) How to enable/disable call of finalize() method of exit of the application&lt;/strong&gt;&lt;br /&gt;Ans) &lt;strong&gt;Runtime.getRuntime().runFinalizersOnExit(boolean value)&lt;/strong&gt; . Passing the boolean value will either disable or enable the finalize() call.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-257731945411131658?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/257731945411131658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/257731945411131658'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/java-garbage-collection-interview_07.html' title='Java Garbage Collection Interview Questions |Garbage Collector - Java Interview Questions'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-6858861418032163482</id><published>2011-04-07T05:04:00.000-07:00</published><updated>2011-04-07T05:04:27.495-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Garbage Collection Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Interview Questions'/><title type='text'>Java Garbage Collection Interview Questions</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;table cellspacing="5" width=""&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Q1) Which part of the memory is involved in Garbage Collection? Stack or Heap?&lt;/strong&gt; &lt;div id="divQ1"&gt;      &lt;strong&gt;Ans)&lt;/strong&gt; Heap&lt;/div&gt;&lt;/td&gt;    &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;&lt;strong&gt;Q2)What is responsiblity of Garbage Collector?&lt;/strong&gt;&lt;br /&gt;&lt;div id="divQ2"&gt;    &lt;strong&gt;Ans)&lt;/strong&gt; Garbage collector frees the  memory occupied by the unreachable objects during the java program by  deleting these unreachable objects.&lt;br /&gt;It ensures that the available memory will be used efficiently, but does  not guarantee that there will be sufficient memory for the program to  run. &lt;/div&gt;&lt;/td&gt;    &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;     &lt;strong&gt;Q3) Is garbage collector a dameon thread?&lt;/strong&gt;&lt;br /&gt;&lt;div id="divQ3"&gt;    &lt;strong&gt;Ans)&lt;/strong&gt; Yes GC is a dameon thread. A  dameon thread runs behind the application. It is started by JVM. The  thread stops when all non-dameon threads stop.  &lt;br /&gt;&lt;/div&gt;&lt;/td&gt;    &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;&lt;strong&gt;Q4)Garbage Collector is controlled by whom?&lt;/strong&gt;&lt;br /&gt;&lt;div id="divQ4"&gt;    &lt;strong&gt;Ans)&lt;/strong&gt; The JVM controls the  Garbage Collector; it decides when to run the Garbage Collector. JVM  runs the Garbage Collector when it realizes that the memory is running  low, but this behavior of jvm can not be guaranteed.&lt;br /&gt;One can request the Garbage Collection to happen from within the java  program but there is no guarantee that this request will be taken care  of by jvm. &lt;br /&gt;&lt;/div&gt;&lt;/td&gt;    &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;&lt;strong&gt;Q5) When does an object become eligible for garbage collection?&lt;/strong&gt;&lt;br /&gt;&lt;div id="divQ5"&gt;   &lt;strong&gt;Ans)&lt;/strong&gt; An object becomes eligible for Garbage Collection when no live thread can access it.&lt;br /&gt;&lt;table cellspacing="5" width=""&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Q6) Can the Garbage Collection be forced by any means?    &lt;/strong&gt;&lt;br /&gt;Ans) No. The Garbage Collection can not be forced, though there  are few ways by which it can be requested there is no guarantee that  these requests will be taken care of by JVM.&lt;br /&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;   &lt;strong&gt;Q7) How can the Garbage Collection be requested?&lt;/strong&gt;&lt;br /&gt;&lt;div id="divQ8"&gt;   Ans) There are two ways in which we can request the jvm to execute the Garbage Collection.   &lt;br /&gt;&lt;ul&gt;&lt;li&gt;   1) The methods to perform the garbage collections are present in the  Runtime class provided by java. The Runtime class is a Singleton for  each java main program.&lt;br /&gt;The method getRuntime() returns a singleton instance of the Runtime  class. The method gc() can be invoked using this instance of Runtime to  request the garbage collection.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; 2) Call the System class System.gc() method which will request the jvm to perform GC. &lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;  &lt;td&gt;&lt;strong&gt;Q8) What is the purpose of overriding finalize() method?&lt;/strong&gt;&lt;br /&gt;&lt;div id="divQ9"&gt; Ans) The finalize() method should be overridden for an object to  include the clean up code or to dispose of the system resources that  should to be done before the object is garbage collected.&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-6858861418032163482?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6858861418032163482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6858861418032163482'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/java-garbage-collection-interview.html' title='Java Garbage Collection Interview Questions'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3896475405466849661</id><published>2011-04-07T05:01:00.000-07:00</published><updated>2011-04-07T05:01:18.679-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HashMap'/><category scheme='http://www.blogger.com/atom/ns#' term='Map in java'/><category scheme='http://www.blogger.com/atom/ns#' term='JAVA Interview Questions'/><title type='text'>What is HashMap and Map? |HashMap in java</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;A map will traverse a tree to find a match. ie log complexity A hash map  will create a hash of the string, and use that hash to index an array,  giving constant lookup. note: collision detection is required because a  hash of a string can produce the same index as the hash of another  string. Therefore complexity is added to manage collisions. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;map: &lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;log traverse complexity&lt;/li&gt;&lt;li&gt;string comparison at each node&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;hashmap &lt;/b&gt;&lt;ul&gt;&lt;li&gt;hash creation (might be linear complexity to string size depending on algorithm to create hash)&lt;/li&gt;&lt;li&gt;constant lookup with hash&lt;/li&gt;&lt;li&gt; with consideration to collision. which might add linear complexity to number of collisions for the same hash.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3896475405466849661?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3896475405466849661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3896475405466849661'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/what-is-hashmap-and-map-hashmap-in-java.html' title='What is HashMap and Map? |HashMap in java'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-4502358997410328239</id><published>2011-04-07T04:58:00.002-07:00</published><updated>2011-04-07T04:58:55.573-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Collections Interview Questions'/><title type='text'>java collections interview questions</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;strong&gt;What is an Iterator interface? Is Iterator a Class or Interface? What is its use?&lt;/strong&gt;&lt;br /&gt;The Iterator is an interface, used to traverse  through the elements of a Collection. It is not advisable to modify the  collection itself while traversing an Iterator. &lt;br /&gt;&lt;strong&gt;What is the Collections API?&lt;/strong&gt;&lt;br /&gt;The Collections API is a set of classes and interfaces that support operations on collections of objects.&lt;br /&gt;Example of classes: HashSet, HashMap, ArrayList, LinkedList, TreeSet and TreeMap.&lt;br /&gt;Example of interfaces: Collection, Set, List and Map.&lt;br /&gt;&lt;strong&gt;What is the List interface? &lt;/strong&gt;&lt;br /&gt;The List interface provides support for ordered collections of objects.&lt;br /&gt;&lt;strong&gt;How can we access elements of a collection? &lt;/strong&gt;&lt;br /&gt;We can access the elements of a collection using the following ways:&lt;br /&gt;1.Every collection object has get(index) method to  get the element of the object. This method will return Object.&lt;br /&gt;2.Collection provide Enumeration or Iterator object  so that we can get the objects of a collection one by one.&lt;br /&gt;&lt;strong&gt;What is the Set interface?&lt;/strong&gt;&lt;br /&gt;The Set interface provides methods for accessing  the elements of a finite mathematical set. Sets do not allow duplicate  elements.&lt;br /&gt;&lt;strong&gt;What’s the difference between a queue and a stack?&lt;/strong&gt;&lt;br /&gt;Stack is a data structure that is based on  last-in-first-out rule (LIFO), while queues are based on  First-in-first-out (FIFO) rule.&lt;br /&gt;&lt;strong&gt;What is the Map interface?&lt;/strong&gt;&lt;br /&gt;The Map interface is used associate keys with values.&lt;br /&gt;&lt;strong&gt;What is the Properties class?&lt;/strong&gt;&lt;br /&gt;The properties class is a subclass of Hashtable  that can be read from or written to a stream. It also provides the  capability to specify a set of                      default values to be used. &lt;br /&gt;&lt;strong&gt;Which implementation of the List interface provides for the fastest insertion of a new element into the middle of the list? &lt;/strong&gt;&lt;br /&gt;a.  Vector &lt;br /&gt;b.  ArrayList &lt;br /&gt;c.  LinkedList &lt;br /&gt;d.  None of the above &lt;br /&gt;ArrayList and Vector both use an array to store the  elements of the list. When an element is inserted into the middle of  the list the elements that                      follow the insertion point must be shifted to make  room for the new element. The LinkedList is implemented using a doubly  linked list; an insertion                      requires only the updating of the links at the point  of insertion. Therefore, the LinkedList allows for fast insertions and  deletions.&lt;br /&gt;&lt;strong&gt;How can we use hashset in collection interface?&lt;/strong&gt;&lt;br /&gt;This class implements the set interface, backed by a  hash table (actually a HashMap instance). It makes no guarantees as                       to the iteration order of the set; in particular, it  does not guarantee that the order will remain constant over time. This  class        permits the Null element. &lt;br /&gt;This class offers constant time performance for the basic operations (add, remove, contains and size), assuming the hash                       function disperses the elements properly among the buckets.&lt;br /&gt;&lt;strong&gt;What are differences between Enumeration, ArrayList, Hashtable and Collections and Collection?&lt;/strong&gt;&lt;br /&gt;Enumeration: It is series of elements. It can be use to enumerate through the elements of a vector, keys or values of a                       hashtable. You can not remove elements from Enumeration.&lt;br /&gt;&lt;span class="style10"&gt;ArrayList:&lt;/span&gt; It is re-sizable array implementation. Belongs to 'List' group in collection. It permits all elements, including null.                       It is not thread -safe.&lt;br /&gt;&lt;span class="style10"&gt;Hashtable:&lt;/span&gt; It maps key to value. You can use non-null value for key or value. It is part of group Map in collection.&lt;br /&gt;&lt;span class="style10"&gt;Collections:&lt;/span&gt; It implements Polymorphic algorithms which operate on collections.&lt;br /&gt;&lt;span class="style10"&gt;Collection:&lt;/span&gt; It is the root interface in the collection hierarchy.&lt;br /&gt;&lt;strong&gt;What is difference between array &amp;amp; arraylist?&lt;/strong&gt;&lt;br /&gt;An ArrayList is resizable, where as, an array is  not. ArrayList is a part of the Collection Framework. We can store any  type of                      objects, and we can deal with only objects. It is  growable. Array is collection of similar data items. We can have array  of primitives                      or objects. It is of fixed size. We can have multi  dimensional arrays.&lt;br /&gt;&lt;strong&gt;Array:&lt;/strong&gt; can store primitive    &lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ArrayList:&lt;/strong&gt; Stores object only&lt;br /&gt;&lt;strong&gt;Array:&lt;/strong&gt; fix size&lt;strong&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ArrayList:&lt;/strong&gt; resizable&lt;br /&gt;&lt;strong&gt;Array:&lt;/strong&gt; can have multi dimensional &lt;br /&gt;&lt;strong&gt;Array:&lt;/strong&gt; lang                         &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt;ArrayList:&lt;/strong&gt; Collection framework&lt;br /&gt;&lt;strong&gt;Can you limit the initial capacity of vector in java?&lt;/strong&gt;&lt;br /&gt;Yes you can limit the initial capacity. We can construct an empty vector with specified initial capacity &lt;br /&gt;public vector(int initialcapacity)&lt;br /&gt;&lt;strong&gt;What method should the key class of Hashmap override? &lt;/strong&gt;&lt;br /&gt;The methods to override are equals() and hashCode().&lt;br /&gt;&lt;strong&gt;What is the difference between Enumeration and Iterator?&lt;/strong&gt;&lt;br /&gt;The functionality of Enumeration interface is  duplicated by the Iterator interface. Iterator has a remove() method  while Enumeration                       doesn't. Enumeration acts as Read-only interface,  because it has the methods only to traverse and fetch the objects, where  as                       using Iterator we can manipulate the objects also  like adding and removing the objects.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-4502358997410328239?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4502358997410328239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4502358997410328239'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/java-collections-interview-questions.html' title='java collections interview questions'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-2910324307559536103</id><published>2011-04-07T04:58:00.000-07:00</published><updated>2011-04-07T04:58:10.887-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HashMap'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Collections Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Collections API Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='Core Java Interview Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='ListIterator'/><title type='text'>Java Collections API Interview Questions |Java Collections Interview Questions</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;strong&gt;What is HashMap and Map?&lt;/strong&gt;&lt;br /&gt;Map is Interface and Hashmap is class that implements this interface.&lt;br /&gt;&lt;strong&gt;What is the significance of ListIterator?&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Or&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;What is the difference b/w Iterator and ListIterator?&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Iterator :&lt;/strong&gt; Enables you to cycle through a collection in the forward direction only, for obtaining or removing elements &lt;br /&gt;&lt;strong&gt;ListIterator : &lt;/strong&gt;It extends Iterator, allow bidirectional traversal of list and the modification of elements&lt;br /&gt;&lt;strong&gt;Difference between HashMap and HashTable?&lt;/strong&gt; &lt;span class="style8"&gt;Can we make hashmap synchronized?&lt;/span&gt;&lt;br /&gt;1. The HashMap class is roughly equivalent to Hashtable, except that it is unsynchronized and permits nulls. (&lt;em&gt;&lt;strong&gt;HashMap&lt;/strong&gt; allows null values                      as key and value whereas Hashtable doesn’t allow nulls&lt;/em&gt;). &lt;br /&gt;2. HashMap does not guarantee that the order of the map will remain constant over time. &lt;br /&gt;3. HashMap is non synchronized whereas Hashtable is synchronized. &lt;br /&gt;4. Iterator in the HashMap is fail-safe while the enumerator for the Hashtable isn't. &lt;br /&gt;&lt;span class="style10"&gt;Note on Some Important Terms&lt;/span&gt;&lt;br /&gt;1)Synchronized means only one thread can modify a  hash table at one point of time. Basically, it means that any thread  before performing                      an update on a hashtable will have to acquire a lock  on the object while others will wait for lock to be released.&lt;br /&gt;2)Fail-safe is relevant from the context of  iterators. If an iterator has been created on a collection object and  some other thread tries to                       modify the collection object "structurally”, a  concurrent modification exception will be thrown. It is possible for  other threads though to                      invoke "set" method since it doesn’t modify the  collection "structurally”. However, if prior to calling "set", the  collection has been modified                       structurally, "IllegalArgumentException" will be  thrown.                    &lt;br /&gt;HashMap can be synchronized by &lt;br /&gt;Map m = Collections.synchronizeMap(hashMap);&lt;br /&gt;&lt;strong&gt;What is the difference between set and list?&lt;/strong&gt;&lt;br /&gt;A Set stores elements in an unordered way and does  not contain duplicate elements, whereas a list stores elements in an  ordered way but may                      contain duplicate elements.&lt;br /&gt;&lt;strong&gt;Difference between Vector and ArrayList? What is the Vector class?&lt;/strong&gt;&lt;br /&gt;Vector is synchronized whereas ArrayList is not.  The Vector class provides the capability to implement a growable array  of objects. ArrayList and                      Vector class both implement the List interface. Both  classes are implemented using dynamically resizable arrays, providing  fast random access and                       fast traversal. In vector the data is retrieved  using the elementAt() method while in ArrayList, it is done using the  get() method. ArrayList has no default                       size while vector has a default size of 10.  when  you want programs to run in multithreading environment then use concept  of vector because it is                       synchronized. But ArrayList is not synchronized so,  avoid use of it in a multithreading environment.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-2910324307559536103?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2910324307559536103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2910324307559536103'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/java-collections-api-interview.html' title='Java Collections API Interview Questions |Java Collections Interview Questions'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-9041276174054833282</id><published>2011-04-05T23:26:00.000-07:00</published><updated>2011-04-05T23:26:40.991-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java.net.connectexception'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Exceptions'/><category scheme='http://www.blogger.com/atom/ns#' term='No available router to destination'/><title type='text'>java.net.ConnectException: Connection refused: connect; No available router to destination</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Question :&lt;/b&gt;&lt;br /&gt;I am trying to read from a URL and display the contents in an Applet. I  am using URL,HttpURLConnection classes. I am consistently getting  Connection time out Exception. I am unable to connect. Could any one  help me out with this. I have tried some TimeOut handler classes  available on the net but still I am getting the same Exception. Please  provide your comments if you have come across similar problems before.&lt;br /&gt;&lt;br /&gt;Here is the code Iam using&lt;br /&gt;&lt;br /&gt;url = new URL((URL)null, str, new HttpTimeoutHandler(15000)); // timeout value in milliseconds&lt;br /&gt;HttpURLConnection httpConnection = (HttpURLConnection) url.openConnection();&lt;br /&gt;httpConnection.connect();&lt;br /&gt;nputStream is = httpConnection.getInputStream();&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Solution;&lt;/b&gt; &lt;/u&gt;&lt;br /&gt;connection timeouts occur when: &lt;br /&gt;&lt;br /&gt;the IP address for the requested server is successfully found connection establishment packets are dispatched to the IP address the destination address deliberately ignores or does not receive them&lt;br /&gt;similar to connection timeout is Connection Refused, but in this case  the destination system is actually sending packets back saying "go away,  there is no service running on the port you are trying to connect to"&lt;br /&gt;your packets are just being lost.. either the system or some  intermediate system is firewalled. follow CMA's advice.. if you cant  connect using telnet, a browser or some other app, its a network  problem, not a java one&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-9041276174054833282?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/9041276174054833282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/9041276174054833282'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/javanetconnectexception-connection_05.html' title='java.net.ConnectException: Connection refused: connect; No available router to destination'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5625542441294208592</id><published>2011-04-05T23:24:00.000-07:00</published><updated>2011-04-05T23:24:31.926-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java.net.connectexception'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Exceptions'/><title type='text'>java.net.connectexception connection timed out connect Exception In java</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="votecell"&gt;&lt;div class="vote"&gt;     &lt;span class="vote-count-post"&gt;&lt;/span&gt;&lt;a class="star-off" href="http://stackoverflow.com/questions/86824/why-would-a-java-net-connectexception-connection-timed-out-exception-occur-whe#" title="This is a favorite question (click again to undo)"&gt;&lt;/a&gt;           &lt;/div&gt;&lt;/td&gt;     &lt;td class="postcell"&gt;         &lt;div&gt;                       &lt;div class="post-text"&gt;                 I'm getting a ConnectException: Connection timed out  with some frequency from my code.  The URL I am trying to hit is up.   The same code works for some users, but not others.  It seems like once  one user starts to get this exception they continue to get the  exception.&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;pre class="lang-java prettyprint"&gt;&lt;code&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre class="lang-java prettyprint"&gt;&lt;code&gt;&lt;span class="pln"&gt;java&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;ConnectException&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="typ"&gt;Connection&lt;/span&gt;&lt;span class="pln"&gt; timed out&lt;/span&gt;&lt;span class="typ"&gt;Caused&lt;/span&gt;&lt;span class="pln"&gt; by&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="pln"&gt; java&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;ConnectException&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="typ"&gt;Connection&lt;/span&gt;&lt;span class="pln"&gt; timed out&lt;br /&gt;&amp;nbsp; &amp;nbsp; at java&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;PlainSocketImpl&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;socketConnect&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="typ"&gt;Native&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="typ"&gt;Method&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; at java&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;PlainSocketImpl&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;doConnect&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="typ"&gt;PlainSocketImpl&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;java&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="lit"&gt;333&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; at java&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;PlainSocketImpl&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;connectToAddress&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="typ"&gt;PlainSocketImpl&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;java&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="lit"&gt;195&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; at java&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;PlainSocketImpl&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;connect&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="typ"&gt;PlainSocketImpl&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;java&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="lit"&gt;182&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; at java&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;Socket&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;connect&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="typ"&gt;Socket&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;java&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="lit"&gt;516&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; at java&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;Socket&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;connect&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="typ"&gt;Socket&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;java&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="lit"&gt;466&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; at sun&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;NetworkClient&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;doConnect&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="typ"&gt;NetworkClient&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;java&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="lit"&gt;157&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; at sun&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;www&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;http&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;HttpClient&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;openServer&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="typ"&gt;HttpClient&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;java&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="lit"&gt;365&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; at sun&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;www&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;http&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;HttpClient&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;openServer&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="typ"&gt;HttpClient&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;java&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="lit"&gt;477&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; at sun&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;www&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;http&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;HttpClient&lt;/span&gt;&lt;span class="pun"&gt;.&amp;lt;&lt;/span&gt;&lt;span class="pln"&gt;init&lt;/span&gt;&lt;span class="pun"&gt;&amp;gt;(&lt;/span&gt;&lt;span class="typ"&gt;HttpClient&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;java&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="lit"&gt;214&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; at sun&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;www&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;http&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;HttpClient&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;New&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="typ"&gt;HttpClient&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;java&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="lit"&gt;287&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; at sun&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;net&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;www&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;http&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;HttpClient&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="typ"&gt;New&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="typ"&gt;HttpClient&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;java&lt;/span&gt;&lt;span class="pun"&gt;:&lt;/span&gt;&lt;span class="lit"&gt;299&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre class="lang-java prettyprint"&gt;&lt;code&gt;&lt;span class="pun"&gt;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre class="lang-java prettyprint"&gt;&lt;code&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;&lt;u&gt;&lt;b&gt;&lt;span class="pun"&gt;Solution: &lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;span class="pln"&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;Connection Timeouts (assuming a local network and several client machines) typically result from&lt;br /&gt;a) some kind of firewall on the way that simply eats the packets without telling the sender things like "No Route to host"&lt;br /&gt;b) packet loss due to wrong network configuration or line overload&lt;br /&gt;c) too many requests overloading the server&lt;br /&gt;d) a small number of simultaneously available threads/processes on  the server which leads to all of them being taken. This happens  especially with requests that take a long time to run and may combine  with c).&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5625542441294208592?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5625542441294208592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5625542441294208592'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/javanetconnectexception-connection.html' title='java.net.connectexception connection timed out connect Exception In java'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3565329730625839980</id><published>2011-04-05T23:21:00.000-07:00</published><updated>2011-04-05T23:21:50.291-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix errors'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Core Dump inUnix'/><category scheme='http://www.blogger.com/atom/ns#' term='Segmentation fault'/><title type='text'>Segmentation fault (core dumped) in Unix</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;A segmentation fault occurs when a program attempts to access a memory  location that it is not allowed to access, or attempts to access a  memory location in a way that is not allowed (for example, attempting to  write to a read-only location, or to overwrite part of the operating  system).&lt;br /&gt;Segmentation fault can also occur under following circumstances:&lt;br /&gt;a) A buggy program / command, which can be only fixed by applying patch. &lt;br /&gt;b) It can also appear when you try to access an array beyond the end of an array under C programming.&lt;br /&gt;c) Inside a chrooted jail this can occur when critical shared libs, config file or /dev/ entry missing.&lt;br /&gt;d) Sometime hardware or faulty memory or driver can also create problem.&lt;br /&gt;e) Maintain suggested environment for all computer equipment (overheating can also generate this problem).&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3565329730625839980?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3565329730625839980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3565329730625839980'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/segmentation-fault-core-dumped-in-unix.html' title='Segmentation fault (core dumped) in Unix'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-2402003570162987108</id><published>2011-04-03T12:27:00.000-07:00</published><updated>2011-04-03T12:29:31.533-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle ASCII Function'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL'/><title type='text'>Oracle PL/SQL Character / String Functions :ASCII Function</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In Oracle/PLSQL, the &lt;b&gt;ascii&lt;/b&gt; function returns the NUMBER code that represents the specified character.&lt;br /&gt;&lt;u&gt;&lt;b&gt;Syntax:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;blockquote class="definition"&gt;ascii( &lt;i&gt;Character_name&lt;/i&gt; )&lt;/blockquote&gt;&lt;i&gt;Character_name&lt;/i&gt; is the specified character to  retrieve the NUMBER code for. If more than one character is entered, the  function will return the value for the first character and ignore all  of the characters after the first.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;/u&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Courier;"&gt;SELECT &lt;span style="color: blue;"&gt;ASCII&lt;/span&gt;('t') FROM dual;&amp;nbsp; &lt;b&gt;Output :116&lt;/b&gt;&lt;br /&gt;SELECT &lt;span style="color: blue;"&gt;ASCII&lt;/span&gt;('T') FROM dual;&amp;nbsp; &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: Courier;"&gt;Output :84&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="font-family: Courier;"&gt;     SELECT &lt;span style="color: blue;"&gt;ASCII&lt;/span&gt;('Thanks') FROM dual; &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: Courier;"&gt;Output :84&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-2402003570162987108?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2402003570162987108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/2402003570162987108'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/oracle-plsql-character-string-functions.html' title='Oracle PL/SQL Character / String Functions :ASCII Function'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-5081606991348104731</id><published>2011-04-01T20:53:00.000-07:00</published><updated>2011-04-03T02:25:13.859-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TO_CHAR'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='LAST_DAY'/><category scheme='http://www.blogger.com/atom/ns#' term='TO_DATE'/><title type='text'>Oracle PL/SQL Tutorial :LAST_DAY, TO_CHAR, TO_DATE</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="codeShade"&gt;&lt;code&gt; &lt;span style="color: black;"&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;Oracle PL/SQL Tutorial :LAST_DAY, TO_CHAR, TO_DATE&lt;/span&gt; &lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class="codeShade"&gt;&lt;code&gt;&lt;span style="color: black;"&gt;SQL&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;SQL&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #7f0055;"&gt;&lt;b&gt;SELECT&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;TO_CHAR&lt;/span&gt;&lt;span style="color: black;"&gt;(&lt;/span&gt;&lt;span style="color: black;"&gt;LAST_DAY&lt;/span&gt;&lt;span style="color: black;"&gt;(&lt;/span&gt;&lt;span style="color: black;"&gt;TO_DATE&lt;/span&gt;&lt;span style="color: black;"&gt;(&lt;/span&gt;&lt;span style="color: #ff6100;"&gt;'01&lt;/span&gt;&lt;span style="color: black;"&gt;APR2011&lt;/span&gt;&lt;span style="color: #990000;"&gt;','&lt;/span&gt;&lt;span style="color: black;"&gt;ddMONyyyy&lt;/span&gt;&lt;span style="color: #ff6100;"&gt;'))&lt;/span&gt;&lt;span style="color: black;"&gt;,&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #ff6100;"&gt;'Mo&lt;/span&gt;&lt;span style="color: black;"&gt;nth&amp;nbsp;dd,&amp;nbsp;yyyy&lt;/span&gt;&lt;span style="color: #ff6100;"&gt;')&amp;nbsp;&lt;/span&gt;&lt;span style="color: #7f0055;"&gt;&lt;b&gt;FROM&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;dual;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;TO_CHAR&lt;/span&gt;&lt;span style="color: black;"&gt;(&lt;/span&gt;&lt;span style="color: black;"&gt;LAST_DAY&lt;/span&gt;&lt;span style="color: black;"&gt;(&lt;/span&gt;&lt;span style="color: black;"&gt;T&lt;/span&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;------------------&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &lt;span style="color: black;"&gt;April &lt;/span&gt;&lt;span style="color: #990000;"&gt;01&lt;/span&gt;&lt;span style="color: black;"&gt;, &lt;/span&gt;&lt;span style="color: #990000;"&gt;2011&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;SQL&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;SQL&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-5081606991348104731?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5081606991348104731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/5081606991348104731'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/oracle-plsql-tutorail-lastday-tochar.html' title='Oracle PL/SQL Tutorial :LAST_DAY, TO_CHAR, TO_DATE'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-1773759720601664739</id><published>2011-04-01T20:48:00.000-07:00</published><updated>2011-04-01T20:48:56.803-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Date Timestamp Functions'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Date Functions'/><title type='text'>Oracle PL/SQL Date Timestamp Functions :Date Functions</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;table border="0" style="color: black; width: 800px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;We must format dates to see all of the information contained in a date column.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;We use the TO_CHAR function to do the converting.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;  &lt;table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;       &lt;td align="left" nowrap="nowrap" valign="top"&gt;     &lt;div class="codeShade"&gt;&lt;code&gt; SQL&amp;gt;&amp;nbsp;&lt;b&gt;SELECT&amp;nbsp;&lt;/b&gt;SYSDATE&amp;nbsp;&lt;b&gt;FROM&amp;nbsp;&lt;/b&gt;dual;&lt;br /&gt;&lt;br /&gt;SYSDATE&lt;br /&gt;---------&lt;br /&gt;01-APR-11&lt;br /&gt;&lt;br /&gt;SQL&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/td&gt;       &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;  &lt;table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;       &lt;td align="left" nowrap="nowrap" valign="top"&gt;     &lt;div class="codeShade"&gt;&lt;code&gt; SQL&amp;gt;&amp;nbsp;&lt;b&gt;SELECT&amp;nbsp;&lt;/b&gt;TO_CHAR(SYSDATE,&amp;nbsp;'ddMONyyyy')&amp;nbsp;Today&lt;br /&gt;&amp;nbsp;&amp;nbsp;2&amp;nbsp;&amp;nbsp;&lt;b&gt;FROM&amp;nbsp;&lt;/b&gt;dual;&lt;br /&gt;&lt;br /&gt;TODAY&lt;br /&gt;---------&lt;br /&gt;01APR2011&lt;br /&gt;&lt;br /&gt;SQL&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-1773759720601664739?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1773759720601664739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1773759720601664739'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/oracle-plsql-date-timestamp-functions_3080.html' title='Oracle PL/SQL Date Timestamp Functions :Date Functions'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-597588983118939657</id><published>2011-04-01T20:47:00.000-07:00</published><updated>2011-04-01T20:47:23.906-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL DateTimestamp Functions'/><category scheme='http://www.blogger.com/atom/ns#' term='Time Interval Related Functions'/><title type='text'>Oracle PL/SQL DateTimestamp Functions :Time Interval Related Functions</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;table class="tutorialTable"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Function&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;NUMTODSINTERVAL(x, interval_unit)&lt;/td&gt;&lt;td&gt;Converts  the number x to an INTERVAL DAY TO SECOND with the interval for x  supplied in interval_unit, which you may set to DAY, HOUR, MINUTE, or  SECOND.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;NUMTOYMINTERVAL(x, interval_unit)&lt;/td&gt;&lt;td&gt;Converts  the number x to an INTERVAL YEAR TO MONTH with the interval for x  supplied in interval_unit, which you may set to YEAR or MONTH.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;TO_DSINTERVAL(x)&lt;/td&gt;&lt;td&gt;Converts the string x to an INTERVAL DAY TO SECOND.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;TO_YMINTERVAL(x)&lt;/td&gt;&lt;td&gt;Converts the string x to an INTERVAL YEAR TO MONTH.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-597588983118939657?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/597588983118939657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/597588983118939657'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/oracle-plsql-datetimestamp-functions.html' title='Oracle PL/SQL DateTimestamp Functions :Time Interval Related Functions'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-4964038840785062127</id><published>2011-04-01T20:46:00.000-07:00</published><updated>2011-04-01T20:46:20.000-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Date Timestamp Functions'/><category scheme='http://www.blogger.com/atom/ns#' term='Timestamp-Related Functions'/><title type='text'>Oracle PL/SQL Date Timestamp Functions :Timestamp-Related Functions</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;table class="tutorialTable"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Function&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;CURRENT_TIMESTAMP()&lt;/td&gt;&lt;td&gt;Returns a TIMESTAMP WITH TIME ZONE containing the current session time along with the session time zone.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;EXTRACT({  YEAR | MONTH | DAY | HOUR | MINUTE | SECOND } | { TIMEZONE_HOUR |  TIMEZONE_MINUTE } | { TIMEZONE_REGION | } TIMEZONE_ABBR ) FROM x)&lt;/td&gt;&lt;td&gt;Extracts  and returns a year, month, day, hour, minute, second, or time zone from  x; x may be one of the timestamp types or a DATE.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;FROM_TZ(x, time_zone)&lt;/td&gt;&lt;td&gt;Converts the TIMESTAMP x and time zone specified by time_zone to a TIMESTAMP WITH TIMEZONE.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;LOCALTIMESTAMP()&lt;/td&gt;&lt;td&gt;Returns a TIMESTAMP containing the current time in the session time zone.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;SYSTIMESTAMP()&lt;/td&gt;&lt;td&gt;Returns a TIMESTAMP WITH TIME ZONE containing the current database time along with the database time zone.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;SYS_EXTRACT_UTC(x)&lt;/td&gt;&lt;td&gt;Converts the TIMESTAMP WITH TIMEZONE x to a TIMESTAMP containing the date and time in UTC.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;TO_TIMESTAMP(x, [format])&lt;/td&gt;&lt;td&gt;Converts the string x to a TIMESTAMP. You may also specify an optional format for x.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;TO_TIMESTAMP_TZ(x, [format])&lt;/td&gt;&lt;td&gt;Converts the string x to a TIMESTAMP WITH TIMEZONE. You may also specify an optional format for x.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-4964038840785062127?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4964038840785062127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4964038840785062127'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/oracle-plsql-date-timestamp-functions_01.html' title='Oracle PL/SQL Date Timestamp Functions :Timestamp-Related Functions'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-3720973795386398393</id><published>2011-04-01T20:45:00.000-07:00</published><updated>2011-04-01T20:45:07.375-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Using Datetime Functions'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle PL/SQL Date Timestamp Functions'/><title type='text'>Oracle PL/SQL Date Timestamp Functions :Using Datetime Functions</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In the following table, x represents a datetime or a timestamp.&lt;br /&gt;&lt;table class="tutorialTable"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Function&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;ADD_MONTHS(x, y)&lt;/td&gt;&lt;td&gt;Add y months to x. If y is negative, y months are subtracted from x.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;LAST_DAY(x)&lt;/td&gt;&lt;td&gt;Get the last day of the month.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;MONTHS_BETWEEN(x, y)&lt;/td&gt;&lt;td&gt;Returns the number of months between x and y. If x appears before y on the calendar, the number returned is positive.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;NEXT_DAY(x, day)&lt;/td&gt;&lt;td&gt;Returns the datetime of the next day following x; day is specified as a literal string, for example SATURDAY.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;NEW_TIME&lt;/td&gt;&lt;td&gt;Returns the time/day value from a time zone specified by the user.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;ROUND(x [, unit])&lt;/td&gt;&lt;td&gt;Rounds  x. By default, x is rounded to the beginning of the nearest day. You  may supply an optional unit string to indicate the rounding unit.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;SYSDATE()&lt;/td&gt;&lt;td&gt;Returns the current datetime set for the operating system.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;TRUNC(x [, unit])&lt;/td&gt;&lt;td&gt;Truncates  x. By default, x is truncated to the beginning of the day. You may  supply an optional unit string that indicates the truncating unit.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-3720973795386398393?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3720973795386398393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/3720973795386398393'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/04/oracle-plsql-date-timestamp-functions.html' title='Oracle PL/SQL Date Timestamp Functions :Using Datetime Functions'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-4459202169403491722</id><published>2011-03-30T05:54:00.000-07:00</published><updated>2011-03-30T05:54:23.807-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Encapsulation'/><category scheme='http://www.blogger.com/atom/ns#' term='Abstraction'/><title type='text'>Abstraction vs Encapsulation - Principles of Object Oriented Programming (OOPS)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Abstraction&lt;/b&gt;&lt;br /&gt;In order to process something from the real world we have to extract the essential characteristics of that object.&lt;br /&gt;Data  abstraction can be viewed as the process of refining away the  unimportant details of an object, so that only the useful  characteristics that define it remain. Evidently, this is task specific.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Encapsulation&lt;/b&gt;&lt;br /&gt;Encapsulation  is one step beyond abstraction. Whilst abstraction involves reducing a  real world entity to its essential defining characteristics,  encapsulation extends this idea by also modeling and linking the  functionality of that entity. Encapsulation links the data to the  operations that can be performed upon the data.&lt;br /&gt;&lt;br /&gt;OOP makes use of  encapsulation to enforce the integrity of a type (i.e. to make sure data  is used in an appropriate manner) by preventing programmers from  accessing data in a non-intended manner&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Through  encapsulation, only a predetermined group of functions can access the  data. The collective term for datatypes and operations (methods) bundled  together with access restrictions (public/private, etc.) is a class&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-4459202169403491722?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4459202169403491722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/4459202169403491722'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/03/abstraction-vs-encapsulation-principles.html' title='Abstraction vs Encapsulation - Principles of Object Oriented Programming (OOPS)'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-1574250084730666706</id><published>2011-03-29T20:56:00.000-07:00</published><updated>2011-03-29T20:56:57.024-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Basic differences between Oracle and SQL Server</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;u&gt;&lt;b&gt;ORACLE&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Oracle provides password complexity enforcement rule.&lt;/li&gt;&lt;li&gt;Connect with one Schema and can work with other schema.&lt;/li&gt;&lt;li&gt;Oracle implemented the row versioning on the DB block level.&lt;/li&gt;&lt;li&gt;Oracle metadata is managed in the same manner as table data.So during data querying most of online DDL statements on the table can be performed simultaneously.&lt;/li&gt;&lt;li&gt;Starting from Oracle 9i the configuration of ROLLBACK SEGMENTS is automatic.&lt;/li&gt;&lt;li&gt;Oracle is well rich with Index Options.&lt;/li&gt;&lt;li&gt;Oracle provides Automatic Storage Management (ASM), which assists with RAC/Grid based cluster deployment.&lt;/li&gt;&lt;li&gt;Oracle provides proprietary cluster file system on Linux and Windows platforms that helps in avoiding the use of raw devices.&lt;/li&gt;&lt;li&gt;Oracle provides Materialized Views for performance improvements of Stored Data with multiple Tables.&lt;/li&gt;&lt;li&gt;Oracle has more recovery options for corrupted database, redo log or datafile than MSSQL.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;u&gt;&lt;b&gt;MS SQL&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;Microsoft implemented row level lock based on each single row.&lt;br /&gt;&lt;b&gt;SQL Server&lt;/b&gt;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;all DDL operations that are currently running on tables belong to database "Snapshot Isolation". "Snapshot Isolation" queries are prohibited.&lt;/li&gt;&lt;li&gt;SQL requires a complex setup of ROLLBACK Segments and Transaction Level use on it.&lt;/li&gt;&lt;li&gt;SQL has just BTREE Index while compare to Oracle.&lt;/li&gt;&lt;li&gt;SQL has limitations using Materialized Views.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-1574250084730666706?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1574250084730666706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/1574250084730666706'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/03/basic-differences-between-oracle-and.html' title='Basic differences between Oracle and SQL Server'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-6440575819378763602</id><published>2011-03-29T20:51:00.000-07:00</published><updated>2011-03-29T20:53:16.221-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RDBMS'/><category scheme='http://www.blogger.com/atom/ns#' term='DBMS'/><title type='text'>What is the difference between DBMS and RDBMS?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;u&gt;&lt;b&gt;DBMS :&amp;nbsp; Data Base Management System &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;1)A DBMS has to be persistent (it should be accessible when&lt;br /&gt;the program created the data donot exist or even the&lt;br /&gt;application that created the data restarted).&lt;br /&gt;2) DBMS has to provide some uniform methods independent of a&lt;br /&gt;specific application for accessing the information that is&lt;br /&gt;stored.&lt;br /&gt;3)DBMS does not impose any constraints or security with&lt;br /&gt;regard to data manipulation. It is user or the programmer&lt;br /&gt;responsibility to ensure the ACID PROPERTY of the database &lt;br /&gt;4)In DBMS Normalization process will not be present&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;RDBMS:&amp;nbsp; Relational Data Base Management System &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;1)RDBMS is based on relational model, in which data is&lt;br /&gt;represented in the form of relations, with enforced&lt;br /&gt;relationships between the tables.&lt;br /&gt;2)RDBMS defines the integrity constraint for the purpose of&lt;br /&gt;holding ACID PROPERTY.&lt;br /&gt;3)In RDBMS, normalization process will be present to check&lt;br /&gt;the database table cosistency&lt;br /&gt;4)RDBMS helps in recovery of the database in case of loss of&lt;br /&gt;database due to system failure or any other reason&lt;br /&gt;&lt;br /&gt;A DBMS has to be persistent, that is it should be accessible when theprogram created the data ceases to exist or even the application thatcreated the data restarted. A DBMS also has to provide some uniformmethods independent of a specific application for accessing theinformation that is stored.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;Many DBA's think that RDBMS is a Client Server Database system but thats not the case with RDBMS.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-6440575819378763602?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6440575819378763602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/6440575819378763602'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/03/what-is-difference-between-dbms-and.html' title='What is the difference between DBMS and RDBMS?'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2759170688190572785.post-8916935786777779538</id><published>2011-03-29T20:46:00.000-07:00</published><updated>2011-03-29T20:46:56.319-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Common Errors in Setting Java Heap Size'/><title type='text'>5 Common Errors in Setting Java Heap Size</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Two JVM options are often used to tune JVM heap size: -Xmx for maximum  heap size, and -Xms for initial heap size. Here are some common mistakes  I have seen when using them:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1.&lt;/b&gt; Only setting -Xms JVM option and its value is greater than the  default maximum heap size, which is 64m. The default minimum heap size  seems to be 0. For example,   &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java -Xms128m BigApp&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error occurred during initialization of VM&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Incompatible initial and maximum heap sizes specified  &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The correct command should be java -Xms128m -Xmx128m BigApp.  It’s a good idea to set the minimum and maximum heap size to the same  value. In any case, don’t let the minimum heap size exceed the maximum  heap size.&lt;br /&gt;Heap size is larger than your computer’s physical memory. For example,   &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java -Xmx2g BigApp&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error occurred during initialization of VM&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could not reserve enough space for object heap&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could not create the Java virtual machine.  &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The fix is to make it lower than the physical memory: java -Xmx1g BigApp  &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.Incorrectly use mb as the unit, where m or M should be used instead.  &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java -Xms256mb -Xmx256mb BigApp&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Invalid initial heap size: -Xms256mb&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could not create the Java virtual machine.  &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 The heap size is larger than JVM thinks you would ever need. For example,  &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java -Xmx256g BigApp&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Invalid maximum heap size: -Xmx256g&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The specified size exceeds the maximum representable size.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could not create the Java virtual machine.  &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The fix is to lower it to a reasonable value: java -Xmx256m BigApp  &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.The value is not expressed in whole number. For example,  &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java -Xmx0.9g BigApp&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Invalid maximum heap size: -Xmx0.9g&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could not create the Java virtual machine.  &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The correct command should be java -Xmx928m BigApp  &lt;br /&gt;NOTE:  &lt;br /&gt;How to set java heap size in Tomcat?&lt;br /&gt;Stop Tomcat server, set  environment variable CATALINA_OPTS, and then restart Tomcat. Look at the  file tomcat-install/bin/catalina.sh or catalina.bat for how this  variable is used. For example,  &lt;br /&gt;set CATALINA_OPTS=”-Xms512m -Xmx512m”&amp;nbsp; (Windows)&lt;br /&gt;export CATALINA_OPTS=”-Xms512m -Xmx512m”&amp;nbsp; (ksh/bash)&lt;br /&gt;setenv CATALINA_OPTS “-Xms512m -Xmx512m”&amp;nbsp; (tcsh/csh)  &lt;br /&gt;In catalina.bat or catallina.sh, you may have noticed CATALINA_OPTS,  JAVA_OPTS, or both can be used to specify Tomcat JVM options. What is  the difference between CATALINA_OPTS and JAVA_OPTS? The name  CATALINA_OPTS is specific for Tomcat servlet container, whereas  JAVA_OPTS may be used by other java applications (e.g., JBoss). Since  environment variables are shared by all applications, we don’t want  Tomcat to inadvertently pick up the JVM options intended for other apps.  I prefer to use CATALINA_OPTS.  &lt;br /&gt;How to set java heap size in JBoss?&lt;br /&gt;Stop JBoss server, edit  $JBOSS_HOME/bin/run.conf, and then restart JBoss server. You can change  the line with JAVA_OPTS to something like:  &lt;br /&gt;JAVA_OPTS=”-server -Xms128m -Xmx128m”  &lt;br /&gt;How to set java heap size in Eclipse?&lt;br /&gt;You have 2 options:&lt;br /&gt;1. Edit eclipse-home/eclipse.ini to be something like the following and restart Eclipse.  &lt;br /&gt;-vmargs&lt;br /&gt;-Xms64m&lt;br /&gt;-Xmx256m  &lt;br /&gt;2. Or, you can just run eclipse command with additional options at  the very end. Anything after -vmargs will be treated as JVM options and  passed directly to the JVM. JVM options specified in the command line  this way will always override those in eclipse.ini. For example,  &lt;br /&gt;eclipse -vmargs -Xms64m -Xmx256m  &lt;br /&gt;How to set java heap size in NetBeans?&lt;br /&gt;Exit NetBeans, edit the file netbeans-install/etc/netbeans.conf. For example,  &lt;br /&gt;netbeans_default_options=”-J-Xms512m -J-Xmx512m -J-XX:PermSize=32m -J-XX:MaxPermSize=128m -J-Xverify:none  &lt;br /&gt;How to set java heap size in Apache Ant?&lt;br /&gt;Set environment variable  ANT_OPTS. Look at the file $ANT_HOME/bin/ant or %ANT_HOME%\bin\ant.bat,  for how this variable is used by Ant runtime.  &lt;br /&gt;set ANT_OPTS=”-Xms512m -Xmx512m”&amp;nbsp; (Windows)&lt;br /&gt;export ANT_OPTS=”-Xms512m -Xmx512m”&amp;nbsp; (ksh/bash)&lt;br /&gt;setenv ANT_OPTS “-Xms512m -Xmx512m”&amp;nbsp; (tcsh/csh)  &lt;br /&gt;How to set java heap size in jEdit?&lt;br /&gt;jEdit is a java application,  and basically you need to set minimum/maximum heap size JVM options when  you run java command. jEdit by default runs with a default maximum heap  size 64m. When you work on large files, you are likely to get these  errors:  &lt;br /&gt;java.lang.OutOfMemoryError: Java heap space&lt;br /&gt;at java.lang.String.concat(String.java:2001)&lt;br /&gt;at org.gjt.sp.jedit.buffer.UndoManager.contentInserted(UndoManager.java:160)&lt;br /&gt;at org.gjt.sp.jedit.Buffer.insert(Buffer.java:1139)&lt;br /&gt;at org.gjt.sp.jedit.textarea.JEditTextArea.setSelectedText(JEditTextArea.java:2052)&lt;br /&gt;at org.gjt.sp.jedit.textarea.JEditTextArea.setSelectedText(JEditTextArea.java:2028)&lt;br /&gt;at org.gjt.sp.jedit.Registers.paste(Registers.java:263)  &lt;br /&gt;How to fix it? If you click a desktop icon, or Start menu item to  start jEdit: right-click the icon or menu item, view its property, and  you can see its target is something like:  &lt;br /&gt;C:\jdk6\bin\javaw.exe -jar “C:\jedit\jedit.jar”  &lt;br /&gt;You can change that line to:  &lt;br /&gt;C:\jdk6\bin\javaw.exe -Xmx128m -Xms128m -jar “C:\jedit\jedit.jar”  &lt;br /&gt;If you run a script to start jEdit: just add these JVM options to the java line inside the script file:  &lt;br /&gt;java -Xmx128m -Xms128m -jar jedit.jar  &lt;br /&gt;If you start jEdit by running java command: just add these JVM options to your java command:  &lt;br /&gt;java -Xmx128m -Xms128m -jar jedit.jar  &lt;br /&gt;Note that when you run java with -jar option, anything after -jar  jar-file will be treated as application arguments. So you should always  put JVM options before -jar. Otherwise, you will get error:  &lt;br /&gt;C:\jedit&amp;gt;java -jar jedit.jar -Xmx128m&lt;br /&gt;Unknown option: -Xmx128m&lt;br /&gt;Usage: jedit [] []  &lt;br /&gt;How to set java heap size in JavaEE SDK/J2EE SDK/Glassfish/Sun Java System Application Server?&lt;br /&gt;Stop the application server, edit&lt;br /&gt;$GLASSFISH_HOME/domains/domain1/config/domain.xml, search for XML element name java-config and jvm-options. For example,  &lt;br /&gt;&lt;java-config suffix="”…”"&gt;&lt;br /&gt;&lt;jvm-options&gt;-Xmx512m&lt;/jvm-options&gt;&lt;br /&gt;&lt;jvm-options&gt;-XX:NewRatio=2&lt;/jvm-options&gt;&lt;br /&gt;&lt;jvm-options&gt;-XX:MaxPermSize=128m&lt;/jvm-options&gt;&lt;br /&gt;…&lt;/java-config&gt;  &lt;br /&gt;You can also change these settings in the web-based admin console, typically at &lt;a href="http://localhost:4848/"&gt;http://localhost:4848/&lt;/a&gt;, or &lt;a href="https://localhost:4848/"&gt;https://localhost:4848/&lt;/a&gt;.  Go to Application Server near the top of the left panel, and then on  the right panel, click JVM Settings -&amp;gt; JVM Options, and you will see a  list of existing JVM options. You can add new ones and modify existing  ones there.  &lt;br /&gt;Yet another option is to use its Command Line Interface (CLI) tool command, such as:  &lt;br /&gt;./asadmin help create-jvm-options&lt;br /&gt;./asadmin help delete-jvm-options  &lt;br /&gt;They may be a bit hard to use manually, but are well suited for automated scripts. &lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2759170688190572785-8916935786777779538?l=developers-arena.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8916935786777779538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2759170688190572785/posts/default/8916935786777779538'/><link rel='alternate' type='text/html' href='http://developers-arena.blogspot.com/2011/03/5-common-errors-in-setting-java-heap.html' title='5 Common Errors in Setting Java Heap Size'/><author><name>Steve Benn</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
