The problem of system security starts with discovering the identity of the user on the other end of the communications link. This article discusses three familiar approaches for identifying users, highlights their strengths and weaknesses (alone and in combinations), and provides some examples of ea Jump to URL Views: 507 Price: Category: JavaTips and Tutorials
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: 437 Price: Category: JavaTips and Tutorials
A detailed tutorial for If else which plays a very important role for beginners
If else? What are "if elses" and why do you use it? Come and find everything in this tutorial Jump to URL Views: 402 Price: Category: JavaTips and Tutorials
A tutorial on obtaining, installing and configuring MySQL Database and Connector/J JDBC Driver for use on Microsoft Windows. Advanced topics covered include installing MySQL as a Windows service and configuring MySQL and Connector/J JDBC Driver to use named pipes. Jump to URL Views: 493 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: 406 Price: Category: JavaTips and Tutorials
GUIs are generally designed with a model-view-controller architecture in which the view is decoupled from the model. The separation presents a challenge to automated testing because it's difficult to verify that a state change in the model is reflected appropriately in the view -- it spawns the infa Jump to URL Views: 514 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: 445 Price: Category: JavaTips and Tutorials
JMS 1.1 unifies point-to-point and publish/subscribe domains, allowing developers to create more general, reusable messaging code. 1.0.2 API provides little support for an application using both domains together, and no support for developing reusable frameworks that can work equally well with desti Jump to URL Views: 533 Price: Category: JavaTips and Tutorials
In this JSP tutorial, you will learn about JSP tags, list of the tags used in Java Server Pages, declaration tag, general syntax of declaration tag, expression tag and general syntax of expression tag. Jump to URL Views: 418 Price: Category: JavaTips and Tutorials
After describing some basic programming of servlets, we will describe some advanced topics of servlets in this tutorial, viz., Session Tracking, Servlet Filters, Servlet Life Cycle Events, Including, forwarding and redirecting, Servlet Chaining and Applet Servlet Communication.
Jump to URL Views: 456 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: 440 Price: Category: JavaTips and Tutorials
This tutorial shows you how to write your first serlvet by introducing several key elements such as Basic Servlet Structure, A Simple Servlet Generating Plain Text, Compiling and Invoking the Servlet, A Simple Servlet Generating HTML, and Some Simple HTML Utilities for Servlets. Jump to URL Views: 418 Price: Category: JavaTips and Tutorials
In this JSP tutorial, you will learn about JSP Architecture, page-centric approach, dispatcher approach and steps in execution of a JSP file. Jump to URL Views: 451 Price: Category: JavaTips and Tutorials
This tutorial briefly explains where to obtain and how to install the Servlet and JSP Classes for Unix and Windows. Also, provides links to get a Servlet-Capable Web Server or Servlet Engine. Jump to URL Views: 609 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: 699 Price: Category: JavaTips and Tutorials
JDK 5.0 added major new support for developing concurrent applications, including JVM changes, new low-level synchronization utilities, and higher-level, thread-safe, high-performance concurrency classes such as thread pools, concurrent collections, semaphores, latches, and barriers. Learn how these Jump to URL Views: 431 Price: Category: JavaTips and Tutorials
The On Demand Operating Environment is based upon the concepts of Service Oriented Architecture (SOA). SOA views every application or resource as a service implementing a specific, identifiable set of (business) functions. In addition to the business functions, services in an on demand environment m Jump to URL Views: 555 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: 472 Price: Category: JavaTips and Tutorials
Learn how to use JXTA technology to integrate thin Java 2 Platform, Micro Edition (J2ME) clients into enterprise-scale messaging applications by developing a set of classes that let you integrate J2ME clients into JMS (Java Message Service) applications running on Java 2 Platform, Enterprise Edition Jump to URL Views: 421 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: 502 Price: Category: JavaTips and Tutorials
This is a complete library of java interview questions with detailed descriptive answeres.Visit http://java-queries.blogs pot.com and shrapen your java skills Jump to URL Views: 498 Price: Category: JavaTips and Tutorials
This article discusses using the JSP and JDBC technologies to integrate static, dynamic, and database content in Web sites. For the purposes of simplicity and illustration, the JSP pages here use short scriptlets to expose the JSP developer to the underlying JDBC concepts instead of hiding them in c Jump to URL Views: 445 Price: Category: JavaTips and Tutorials
This article describes the overall servlet architecture and what you need to develop your application with servlets. Also presented are several code examples to show you how to use the Servlet API, and compare it with CGI and proprietary server APIs where appropriate.
Jump to URL Views: 617 Price: Category: JavaTips and Tutorials
Servlets are Java programs running on a web server that produce results viewed remotely on a web server. Servlets has the same purpose that CGI or PHP had in the past. We shall describe how Servlets works with some examples. You will also learn about Servlet Request and Response Model, Servlet Life Jump to URL Views: 558 Price: Category: JavaTips and Tutorials
In this JSP tutorial, you will learn about out object and its methods viz. clear, clearBuffer, flush, isAutoFlush, getBufferSize, getRemaining, newLine, print and println. Jump to URL Views: 422 Price: Category: JavaTips and Tutorials
XML developers used to rely on XML parsers to read XML files. They also used to rely on XML processors to transform XML to *ML (HTML, XML, etc.). However, most of them forget these tools to generate XML from scratch. They should not. This article presents code samples for generating XML with JAVA/JA Jump to URL Views: 410 Price: Category: JavaTips and Tutorials
Java programming language was primarily developed to deal with embedded applications. But with the introduction of Swing and other user interface utilities to Java, it made its mark in desktop applications too. Now the trend is to use Java technology in developing large web and enterprise applicatio Jump to URL Views: 543 Price: Category: JavaTips and Tutorials
Annotations, a new feature in J2SE 5.0 (Tiger), brings a much-needed metadata facility to the core Java language. In this first of a two-part series, author Brett McLaughlin explains why metadata is so useful, introduces you to annotations in the Java language, and delves into Tiger's built-in annot Jump to URL Views: 544 Price: Category: JavaTips and Tutorials
AOL Instant Messenger is one of the most popular instant messenging tools available today. It allows you to send instant messages to other people who use AIM. At the same time, it is possible to heavily customize AIM programs by using a protocol which is named TOC2. Jump to URL Views: 530 Price: Category: JavaTips and Tutorials
In server-side control architectures a majority of the control events must be handled on the server side to update the state of the control. For every user event, the entire page data is sent back to the server as part of the form submission, even data that has not changed or is not affected by the Jump to URL Views: 493 Price: Category: JavaTips and Tutorials
A thread, by definition is a light weight process. They are used to increase functionality and performance by performing multiple tasks at the same time, i.e. concurrently... Jump to URL Views: 419 Price: Category: JavaTips and Tutorials
Java Server Pages (JSP) is a Java API in J2EE which allows dynamic creation of web pages using Java. It has the same purpose as other existing technologies like CGI or PHP. In this tutorial you will learn about Lifecycle of JSP pages, Dynamic content generation, Invoking Java code using JSP scriptin Jump to URL Views: 633 Price: Category: JavaTips and Tutorials
If your company already relies on multitiered enterprise Java applications, then you may be closer to a wireless future than you think. By outlining a sample application, this article shows you how to connect your existing enterprise Java infrastructure to a wireless network with minimal investment Jump to URL Views: 466 Price: Category: JavaTips and Tutorials
Creating a fully internationalized Java application using PropertyResourceBundles can present some interesting design and implementation problems, including concern over how to modularize the bundles to be used in different areas of the application. This article explores a solution based on Property Jump to URL Views: 473 Price: Category: JavaTips and Tutorials