You can divide database results into pages with this script. This source code is for available to use with MySQL. But you can modify the code to use with PostgreSql and Oracle. You can not use this code with MS-SQL. Becuase MS-SQL does not support using 'LIMIT' in your sql queries. Jump to URL Views: 329 Price: Category: JavaTips and Tutorials
This is a simple function used to encode text and attribute values before adding them to your XML documents. This code can always be extended to handle maore special characters
Jump to URL Views: 322 Price: Category: JavaTips and Tutorials
The Java language, and the ever-growing Java platform, have revolutionized programming. The goal of this tutorial is to introduce you to the Java syntax you're most likely to encounter professionally, and to expose you to idioms that will help you avoid trouble. Follow along with Java professional R Jump to URL Views: 337 Price: Category: JavaTips and Tutorials
This is a small Console Based Java Calculator that can add, subtract , divide and multiply two numbers. Find the square root of a number, cube of a number, nth Power of a number. It is very for the begnners of Java.... Jump to URL Views: 341 Price: Category: JavaTips and Tutorials
This is a short introductory article on JavaServer Pages. It talks about the features of JSP, a simple example, and includes some useful JSP related-links. Jump to URL Views: 382 Price: Category: JavaTips and Tutorials
Synchronization is a process of controlling the access of shared resources by the multiple threads in such a manner that only one thread can access one resource at a time. In non synchronized multithreaded application, it is possible for one thread to modify a shared object while another thread is i Jump to URL Views: 313 Price: Category: JavaTips and Tutorials
In this first part of a series on developing Java servlets, this tutorial shows how to create a basic servlet. It includes information about downloading the Java Servlet Development Kit from Sun. Jump to URL Views: 363 Price: Category: JavaTips and Tutorials
SCEA Practice 310-051 Free Exam Simulator which helps you to prepare for the exam. The Exam Simulator is a computer program designed to help you pass your examination on the first try. The Exam Simulator pinpoints your strengths and weaknesses by quizzing you with questions similar to those found o Jump to URL Views: 619 Price: Category: JavaTips and Tutorials
This article contains a source code of a simple Java program which draws image(from file or http:// URL) at the center of full-screen window. It uses AWT Toolkit to load image (from the file or http URL) and Swing JFrame to display it. Jump to URL Views: 314 Price: Category: JavaTips and Tutorials
In this JSP tutorial, you will learn about two types of Directive tag namely Include and Tag Lib and also Scriptlet tag used in Java Server Pages along with syntax, usage, example and explanation for each of the tag. Jump to URL Views: 328 Price: Category: JavaTips and Tutorials
This article examines the processing of a user registration form using JSP and JavaBeans while implementing the Memento design pattern. It is assumed that the reader is familiar with basic JSP syntax. Jump to URL Views: 509 Price: Category: JavaTips and Tutorials
This small article is aimed at web designers who are (mostly) non-programmers
and who wish to use 3rd party applets rather than create their own. It sets
out to define java from the non-specialist's perspective and guard against a few common misconceptions. Jump to URL Views: 280 Price: Category: JavaTips and Tutorials
Ever try to write a J2EE application accessing EJBs across a firewall? It can be messy, and developers often must resort to all kinds of workarounds, none of them particularly "neat." Developers often write a servlet to intercept HTTP requests and delegate them to EJBs, which is kind of a Jump to URL Views: 330 Price: Category: JavaTips and Tutorials
This article provides tutorial notes on the JDBC driver for Java DB (Derby) produced by Apache. Topics include loading JDBC driver classes; connecting Derby Network Server; getting JDBC driver information; creating tables and running queries through the Derby JDBC driver.
Jump to URL Views: 332 Price: Category: JavaTips and Tutorials
This is a tutorial about migrating web applications (Servlets, JSP, JavaBeans) from WebSphere 3.5 to WebSphere 4.0 which is J2EE 1.2 compliant. Jump to URL Views: 436 Price: Category: JavaTips and Tutorials
This article discusses incremental compaction, a new feature in the memory management component of IBM JDK 1.4.0. Incremental compaction is a way of spreading compaction work across different garbage collection cycles, thereby reducing pause times. The authors discuss the need for incremental compac Jump to URL Views: 408 Price: Category: JavaTips and Tutorials
This is one of the most comprehensive introductory online tutorial on JSP programming. It covers: Syntax Summary, Template Text (Static HTML), JSP Scripting Elements: Expressions, Scriptlets, and Declarations, JSP Directives, Example using Scripting Elements and Directives, Predefined Variables, JSP Jump to URL Views: 339 Price: Category: JavaTips and Tutorials
This tutorial shows you how to build a Web service using the Eclipse Web Tools Platform. The Web service interacts with a Cloudscape (Apache Derby) database and is deployed to Apache Tomcat. Jump to URL Views: 490 Price: Category: JavaTips and Tutorials
This is the simplest and fastest code that implements table sorting in JSP (Sort Ascending & Sort Descending).
Excellent for JSP Database beginers
Jump to URL Views: 276 Price: Category: JavaTips and Tutorials
The Java 2 Platform, Micro Edition (J2ME) offers great tools for developers, porting the Java platform's network-centric and platform-agnostic worldview down to memory- and processor-limited devices. This article explains the basics of the J2ME world, showing you the building blocks of the platform Jump to URL Views: 444 Price: Category: JavaTips and Tutorials
This is the simplest and fastest code that shows how to implement multiple-column table sorting in JSP (Sort Ascending & Sort Descending).
Excellent for JSP Database beginers
Author: Tanwani Anyangwe
Jump to URL Views: 301 Price: Category: JavaTips and Tutorials
Here are a selection of common questions and answers about Java programming. Question categories are grouped by Applets, AWT / Graphics, I/O & Files, Language questions, Data type issues, Keywords, Operators, Networking, Java.util package and more. Jump to URL Views: 325 Price: Category: JavaTips and Tutorials
This can come in very handy, if you need to compare 2 different projects or envs.
For example Development server against prod, to ensure they both have same certs stored in cacerts (sampled by java among others).
Code to generate list of certs, along with there alias, entry, owner and valid date Jump to URL Views: 272 Price: Category: JavaTips and Tutorials
In this JSP tutorial, you will learn about JSP, usage of JSP, process of development, independency of layers and simplification of process. Jump to URL Views: 283 Price: Category: JavaTips and Tutorials
A collection of notes and simple codes on JDK. Topics include Blowfish, book, Calendar, certificate, character set, cipher, client authentication, collections, datagram, Date, decryption, DES, digital signature, encryption, DOM, DSA, DTD, example, HTTP, HTTPS, J2SDK, Java, JCA, JDK, JDK 1.3.1, JDK 1 Jump to URL Views: 329 Price: Category: JavaTips and Tutorials
Both provide key-value access to data. The Hashtable is one of the original collection classes in Java. HashMap is part of the new Collections Framework, added with Java 2, v1.2.
The key difference between the two is that access to the Hashtable is synchronized on the table while access to the HashM Jump to URL Views: 301 Price: Category: JavaTips and Tutorials
A core requirement of any non-trivial P2P application is secure communication between peers. While the details of the security depend on how the application will be used and on what it will protect, it's often possible to implement strong, general-purpose security using off-the-shelf technology such Jump to URL Views: 327 Price: Category: JavaTips and Tutorials
JDBC provides a powerful, comprehensive interface for accessing databases from Java programs. For smaller projects, JDBC can seem overwhelming, driving some programmers to avoid using a database altogether. This article describes a simple wrapper library that makes basic database usage a snap. You'l Jump to URL Views: 358 Price: Category: JavaTips and Tutorials
A guide to calling native methods from with in java applets. Explains how to overcome the sandbox restrictions and how to load native libraries when the applet starts. Also includes a brief introduction to the JNI. Jump to URL Views: 482 Price: Category: JavaTips and Tutorials
A discussion of MIDlet development on the Nokia 6600 making use of the MIDP 2.0 and MMAPI. The artcile will attempt to guides you through many of the quirks of this phone, not least of which is the 'Mickey Mouse' effect of the audio capture tool. Jump to URL Views: 326 Price: Category: JavaTips and Tutorials
Learn how to create digital-certificate chains to test your software. IBM Software Engineer, Paul H. Abbott, clarifies this seldom-documented process by showing you how to use the freely available OpenSSL toolkit to create a certificate chain of any length. He also describes common certificate attri Jump to URL Views: 443 Price: Category: JavaTips and Tutorials
This is a continuation of the three-part series on building resource management applications. It takes a look at the Web-Based Enterprise Management (WBEM) initiative. WBEM serves to standardize the description and use of managed resources in enterprise networks. Follow along as the author describes Jump to URL Views: 452 Price: Category: JavaTips and Tutorials
In this JSP tutorial, you will learn about application object, the methods available in application object, getAttribute(String name), getAttributeNames, setAttribute(String objName, Object object), removeAttribute(String objName), getMajorVersion(), getMinorVersion(), getServerInfo(), getInitParame Jump to URL Views: 581 Price: Category: JavaTips and Tutorials
In this JPS tutorial, you will learn how to program using JSP, JSP expressions and Implicit Objects, JSP Session Object, methods of session object, getAttribute(String name), getAttributeNames and isNew(). Jump to URL Views: 321 Price: Category: JavaTips and Tutorials
The addition of the java.util.prefs package to Java 1.4 (through JSR 10) lets you manipulate user preference data and configuration data by providing you with access to an implementation-specific registry (for example, the Windows Registry on Windows platforms). This article introduces you to the Pr Jump to URL Views: 378 Price: Category: JavaTips and Tutorials
Ensure your success in SCBCD exam with Whizlabs Simulator, the most effective training software for the Sun Certified Business Component Developer exam. Developed by highly experienced and certified professionals, it offers 5 mock exams (350 questions) on the latest pattern in a simulated environmen Jump to URL Views: 321 Price: Category: JavaTips and Tutorials