Most Popular Scripts | Java | Tutorials & Tips
Tracing in a Multithreaded, Multiplatform Environment
posted bypowelljgrinDevelopment
Most Java programmers use some kind of tracing system to keep track of potential errors and problems in code under development. However, multithreaded and multiplatform systems can generate a large and baffling amount of tracing data. This article offers tips that will help you make sense of trace data from complex applications.
Reviews0
PriceFree
Views1049
Java Interview Questions
posted bysanereddyinFrequently Asked Questions
Java Interview Questions: Get the Interview Questions and Frequently Asked Questions in Java related Technologies. Over 1000 Questions and Answers in J2EE subjects like Java Interview Questions, JDBC Interview Questions, EJB Interview Questions, Struts Interview Questions, JMS Interview Questions, JSP Interview Questions, Servlets Interview Questions, Core Java Interview Questions and OOPS Interview Questions. Discuss each Question in detail and prepare for your Interview.
Reviews1
PriceFree
Views6799
Paging Records in JSP
posted byinfoinDatabase-Related
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.
Reviews0
PriceFree
Views5764
Java full screen image viewer
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.
Reviews0
PriceFree
Views3293
Building Web Services w/ Eclipse Tutorial
posted bypowelljgrinApplication Building
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.
Reviews0
PriceFree
Views8639
Demonstration of Linked List in java
posted bymsaqibinMiscellaneous
It is a simple demonstration of Linked list in java programming language. Very simple and well commented java source code for the beginners. Linked list of points are used to create a Polyline and display it.
Reviews1
PriceFree
Views13073
Mobile Database Access
posted bypowelljgrinDatabase-Related
This tutorial shows you how to build a database application using Java 2 Micro Edition (J2ME) Record Management System (RMS). It also demonstrates how to craft a MIDlet that performs the necessary logic of creating and accessing a sample database application and deploys it to a J2ME environment.
Reviews0
PriceFree
Views2509
Connecting to a MySQL Database using Connector/J JDBC Driver.
posted byfaisalinDatabase-Related
A tutorial on how to connect to a MySQL Database using Connector/J JDBC Driver. Explains what are database URLs? Why and how to specify JDBC driver names? Then moves on to write a simple Java program to connect to a MySQL database server. Explains all the code in detail.
Reviews0
PriceFree
Views5704
Accessing Database using Tags in JSP Pages
posted byfaisalinDatabase-Related
This step by step tutorial describes how to access database using JDBC with JSP tags in a JSP page. Also describes how to iterate through the records using BodyTag interface. Online demo available.
Reviews1
PriceFree
Views4905
Servlets and JSP
posted byunknowninIntroduction to Servlets
Servlets are Java technology's answer to CGI programming; JSP is a technology that lets users mix regular, static HTML with dynamically-generated HTML. This tutorial discusses the basics of Java Servlets and JSP, as well as the advantages of using each of these technologies.
Reviews0
PriceFree
Views3041
XML generation with JAVA
posted byebspinXML & Java
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/JAXP.
Reviews0
PriceFree
Views4486
Counting Records in MySQL by JSP
posted byinfoinDatabase-Related
This code source displays count of records in MySQL. We are using a SQL statement. You can easily modify the code to use in different languages. But this code can be used for JSP with MySQL. We will use Connector/J driver to connect database.
Reviews1
PriceFree
Views2917
Swing's new JFormattedTextField component
Accepting formatted input doesn't have to be difficult with input verifiers and focus listeners. This installment of Magic with Merlin shows you how to use the new JFormattedTextField component to prompt for numbers, dates, and formatted input. The Java 2 Standard Edition (J2SE), version 1.4, adds two new Swing components to the palette of available GUI elements: JSpinner and JFormattedTextField.
Reviews1
PriceFree
Views2854
Herong's Notes on JSP
posted byheronginDevelopment
This book is a collection of notes and tutorial codes I wrote while I was leaning JSP (JavaServer Pages). Topics include: attachment, Big5, book, Chinese, content-disposition, content_type, cookie, custom tag, debugging, example, expression language, file upload, GB2312, GBK, header lines, HTTP/1.1, HTTP Response, internationalization, i18n, IterationTag, JavaBeen, JDK, JSP, JSTL, JSTL-EL, J2SE, localization, MIME, named package, online, pageContext, performance, Perl, Servlet, session, Taglib, TagSupport, tag interface, TLD, Tomcat, tutorial, unnamed package, Unicode, useBean, UTF-8, XML
Reviews0
PriceFree
Views2044
Reading and Parsing XML Files with Enterprise JavaBeans
A step-by-step tutorial in which we will create a Session EJB which will read a given XML file. So in this tutorial you will learn two things; how to read XML files in Java and how to add this functionality in EJBs. Every step has been explained in detail.
Reviews0
PriceFree
Views3684
Sending Emails in JSP
posted byinfoinJSP & Servlets
Before to start to examine this sample code, you need a SMTP server. If you know your mail server name you could easily use this sample code in a real website. We will use JavaMAIL API. You must put j2ee.jar under WEB-INF/lib folder in your web work folder. Our testing system is Red Hat Linux with Tomcat 5.
Reviews0
PriceFree
Views1737
Console Based Java Calculator
posted bymsaqibinIntroduction to Java
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....
Reviews0
PriceFree
Views4173
What is Polymorphism
posted bychetu_akarteinFrequently Asked Questions
Polymorphism means any forms. In OOPS, it refers to the capability of objects to react differently to the same method. Polymorphism can be implemented in the Java language in the form of multiple methods having the same name. Java code uses a late-binding technique to support polymorphism; the method to be invoked is decided at runtime.
Reviews0
PriceFree
Views907
Installing and Configuring MySQL Database and Connector/J JDBC Driver
posted byfaisalinDatabase-Related
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.
Reviews0
PriceFree
Views2620
Playing WAV files using Java
posted byAnshargalinMiscellaneous
There is source code of simple class AePlayWave in this article, which can play WAV(AUFF, SND, AU might also be supported) sound files asynchronously (in a separate thread, without interruption of main program). It is possible to use it in console or GUI Java programs for playing user notification sounds. There is also trivial RSS-feed checker, which plays various sounds on rss-feed update.
Reviews0
PriceFree
Views2287