Tutorials to .com

Tutorials to .com » Jsp » Skills » Java skills and code

Java skills and code Articles


401: How to use Apache + Tomcat configuration JSP development environment?
No matter what kind of J2SDK installation program to install and configure the JSP engine must be completed prior to the installation of J2SDK. 1, installed in Windows under J2SDK, downloaded directly run j2sdk-1_4_1_01-windows-i586.exe document, ac...

402: The maximum limit to improve code reusability, object-oriented programming to overcome the traditional methods in the context of the lack of reusability
Reuse is a myth, it seems that this is becoming a consensus programmers. However, reuse may be difficult to achieve because the traditional method of object-oriented programming reusable aspects in a number of deficiencies. Shows the composition of ...

403: JB debugging methods (welcome to add)
In JBuilder9, in the editor can use red dot shows the current lines of code errors, but can not be displayed on the logical error, as well as the operation of the error, it also needs a better understanding of how to carry out error checking and deb...

404: Jboss EJB 3.0
Jboss EJB 3.0 Stateless Beans Calculator.java / / Calculator interface: add, subtract package org.jboss.tutorial.stateless.bean; public interface Calculator ( int add (int x, int y); int subtract (int x, int y); ) CalculatorBean.java packa...

405: Java with Servlet containers to monitor the realization of the procedure
Two-step: (1). Javax.servlet.ServletContextListener interface to achieve the two methods: contextInitialized () and contextDestroyed () contextInitialized (): When the Servlet container will start the implementation of contextDestroyed (): When the ...

406: JBoss 4.0.1 configure Lomboz
This article is the "Eclipse quick start EJB - 1. Lomboz + JBoss-IDE Configuration 1" to add a little text. In that article, jboss400.server this configuration for JBoss 4.0.0, and if you are using JBoss 4.0.1, need to use the following co...

407: The new J2SE 5.0 language features
JavaTM Language Features For more information see New Language Features. Generics This long-awaited enhancement to the type system allows a type or method to operate on objects of various types while providing compile-time type safety. It adds compi...

408: Look And Feel and see a variety of development kits demonstrated how
A lot of spare time to collect lookandfeel, to put them all in swingSet2 done to see if they show effects? 1, macintosh more general sense of the interface. 2, alloy of the Frame to do it very well, I appreciate. JSlider you have personality, but ...

409: J2ME temporarily unable to complete the function of
J2ME temporarily unable to complete the function of Author: From: http://blog.csdn.net/mailbomb J2ME temporarily out some functions can not be completed, I hope that we can actively add: 1, the phone does not change the code to achieve transplan...

410: and finally the use of return
Finally in java in general appear in the try () structure for the storage structure must try to implement the statement, such as String s = "1"; try (s = "2"; System.out.println (s); if (s == "2") throw new Exception ( ...

411: static and final variables
A, illegal forward refrence The day before yesterday, when a class to write a compiler error look unfamiliar (the issue of simplified): punlic final class Constants ( public static int VAR2 = VAR1 + 1; public static int VAR1 = 1; ) Compile-tim...

412: ObjectInputStream ObjectOutputStream
ObjectOutputStream and ObjectInputStream - ObjectOutputStream Class ObjectInputStream Class ObjectOutputStream to restore previously used after the sequence of basic types of data and objects. ObjectOutputStream and ObjectInputStream use FileOutp...

413: New features J2se5.0 generis
Following the procedure easy to understand, to contrast the two procedures, I believe that it is easy to understand generis characteristics. OldList.java / ** * @ Author roson * * 2005-4-11 * / package collection; import java.util .*; publi...

414: "Effective Java" the study notes (2)
This is the first two . For all the objects are commonly used methods Mainly on how to correctly rewrite the Object class method non-final. Article 7: In the rewrite equals the time to observe the general agreement Equals method must be rewritten...

415: eclipse in UnsatisifiedLinkError solution
Method a q 9.9 (e) Start a Windows command line and execute the following commands. You'll be using the value for $ LIBPATH that you wrote down in Step 9.6 (i). Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp...

416: The Struts Users Guide translations 1
In the next few weeks I will be in the APACHE site Structs User's Guide translated, because it seems to open in the company so long as CSDN BLOG evening or weekend reprint. I hope that we can pay attention to the translation, the translation of ...

417: The Struts Users Guide translations 2
0. Introduction: the key technology 0.1 the basic requirements of the user guide for the skilled and Web developers to write, and assume that your Java Web application development a certain degree of understanding. Before the beginning of the follo...

418: struts for each individual request to create a method of Action
Javaeye today on ways to learn If you do not like to deal with the traditional mode of Struts and hope with each request for an independent action to deal with objects, you can do: java code: public abstract class BaseAction extends Action (public...

419: Eclipse installation and SWT / JFace project configuration
Download version eclipse3.0.1; confirmed already installed java jdk, use jdk1.4 above; eclipse3.0.1 version will download a file decompression; configuration $ (eclipse) / eclipse.exe shortcuts, "$ (eclipse) / eclipse. exe-vm% JAVA_HOME% / bin ...

420: Use Java to call the executable command
package test; / ** * Add one sentence class summary here. * Add class description here. * * @ Author lxx * @ version 1.0, 2004-11-16 * / public class TestCmd (public TestCmd () () / * public void main ( String args []) (try (Process process = Runti...


Page 21 of 38
[1]   [2]   [3]   [4]   [5]   [6]   [7]   [8]   [9]   [10]   [11]   [12]   [13]   [14]   [15]   [16]   [17]   [18]   [19]   [20]   [21]   [22]   [23]   [24]   [25]   [26]   [27]   [28]   [29]   [30]   [31]   [32]   [33]   [34]   [35]   [36]   [37]   [38]