JNDI url/initialization

SPRING2.5 use JNDI data sources, JNDI provides (TOMCAT5.5.26) (CTO)

SPRING always want to use JNDI data sources, some free time today, just the whole, the use of containers running as TOMCAT5.5.26 found really a lot of issues and less on the configuration Will lead to problems, the following is a dual configuration succes

EJB3.0 of the application server's JNDI interface to provide

On JNDI and EJB JNDI (The Java Naming and Directory Interface,Java Naming and Directory Interface ) Is a set of applications in the Java naming and directory services to access API. Provided for developers to find and access the various naming and directo

implementation of the JNDI jetty

This paper discusses the jetty in the JNDI implementation. JNDI entry type is javax.naming.InitialContext, one of the methods used to find a specific provider getURLOrDefaultInitCtx initial context object, the code: protected Context getURLOrDefaultI

servlcet configuration

IE client to the server (Yihong) issued a request, the server upon request of the url to the webapp's web.xml, find the corresponding servlet url's name, if no tell IE, the requested resource does not exist, if found immediately under the name nam

Servlet configuration

IE client to the server (Yihong) issued a request, the server upon request of the url to the webapp's web.xml, find the corresponding servlet url's name, if no tell IE, the requested resource does not exist, if found immediately under the name nam

web.xml configuration details

1 defines the root element of the head and Deployment descriptor file like all XML files, an XML header must begin. The first statement can use the XML version and character encoding the file is given. DOCYTPE declaration must appear immediately after thi

web.xml configuration in detail (switch) (2)

(Continued 1) http://www.wangmeng.cn/Article/SOFTDEVELOP/JAVA/200705/2673_4.html 4.2 global ban activator: Tomcat Tomcat 4 in the method used to turn off the default URL with Tomcat 3 used in the very same. Both methods are described below: 1. Prohibit ac

Great collection of java interview topics

1, object-oriented features of what has 1. Abstract: Abstract is that it has overlooked a subject has nothing to do with the current goal of those aspects in order to more fully with the current objectives of the attention-related aspects. Abstract does n

JAVA interview questions

JAVA interview questions 1, object-oriented features of what has 1. Abstract 2. Inheritance 3. Packaging 4. Polymorphisms 2, String data types are the most basic right? Basic data types include byte, int, char, long, float, double, boolean and short. java

servlet specification 2.2

Introduction: Spring Security watch, when to see more use of the Servlet Listener, filter and so on. Filter done, listener never. Therefore want from the Internet to find a closer look at the servlet specification, go thorough investigation, there is no s

JAVA EE JSP 2.1

http://www.ibeifeng.com/read.php?tid=11074 Actual video Han Shun ping J2EE Tutorial JSP Part 1 , paragraph 9 ----- stresses thunder: / / QUFmdHA6Ly9Bbm9ueW1vdXNANTguNTIuMTYxLjM3L7fH1K20tC9KMkVFL1u6q8uzxr1dSjJFRcrTxrXKtdW9vcyzzC9qc3AvW8DL6thdW7fH1K20tF26q8

Notes springSide3 framework

First of all, download from the official website of springSide3 I do not have the necessary jar package, some Liezi and I used to have a great conflict of the preparation. Carefully observe the directory structure found struts2.0 not like, like put Liezi

spring foundation

Spring foundation 1. Teaching objectives know the basic situation of Spring (website, project history, and other frameworks) Spring master class library installation manual Factory model to understand the basic principles of Spring generic master function

java interview questions large aggregate sum

java interview questions Pen ~ a very comprehensive summary of major java interview questions large aggregate sum First, to talk about the final, finally, finalize the distinction. The most commonly asked. Second, Anonymous Inner Class (anonymous inner cl

java written Guinness Collection

This article is part of my summing up, attachment containing the full content, please download java written Guinness Collection 1. (&,|,^) Logical operation on the operation and conditions (&&,||) difference. (15 points) A major difference bet

Based on JAVA

1 JAVA 】 【basic knowledge related to JAVA Basic knowledge of JAVA-related 1, object-oriented aspects of the characteristics of which 1. Abstract: Abstract is that it has overlooked a theme has nothing to do with the current objectives of those aspects in

java face questions and answers (based on 122 topics, topics code 19)

Basic knowledge of JAVA-related 1, object-oriented aspects of the characteristics of which 1. Abstract: Abstract is that it has overlooked a theme has nothing to do with the current objectives of those aspects in order to more fully with the current objec

ssh working principle

Principle: 1. Read and analytic profile 2. Read and analytical mapping information, the creation of SessionFactory 3. Open Sesssion 4. Transation create Affairs 5. Persistence operation 6. Submit 7. Close Session 8. SesstionFactory Close Why use: 1. To ac

java face questions and answers (122 questions based on code title 19)

JAVA based on knowledge-related 1, object-oriented aspects of the characteristics of which 1. Abstraction: Abstract is a neglected topic has nothing to do with the current goal of those aspects in order to better attention-related aspects of the current t

The working principle ssh

Principle: 1. Read and analytic profile 2. Read and analytical mapping information, create a SessionFactory 3. Open Sesssion 4. Transation create Affairs 5. Persistent operating 6. Submit 7,. Close Session 8. Close SesstionFactory Why use: 1. On the code

java interview book 1

java interview book 2009-04-06 19:36 1. Abstract: 2, String is the most basic data types it? Basic data types include byte, int, char, long, float, double, boolean and short. final category is the type of java.lang.String, and therefore can not inherit th

Basic knowledge of JAVA-related

Basic knowledge of JAVA-related 1, object-oriented aspects of the characteristics of which 1. Abstract: Abstract is that it has overlooked a theme has nothing to do with the current objectives of those aspects in order to more fully with the current objec

Great summary of examination questions java interview Pen

Great summary of examination questions java interview Pen Great summary of examination questions java interview Pen First, to talk about the final, finally, finalize the difference. Most frequently asked. Second, Anonymous Inner Class (anonymous inner cla

c3po vs dbcp

No matter what kind of lasting through technology, we must access the database through the data connection, in the Spring, the data connection is obtained through the data source. In the past, applications, the data source is usually provided by the Web a

(Reprinted) c3p0 - JDBC3 Connection and Statement Pooling

http://www.mchange.com/projects/c3p0/index.html c3p0 - JDBC3 Connection and Statement Pooling version 0.9.1.1 by Steve Waldman < swaldman@mchange.com " © 2006 Machinery For Change, Inc. This software is made available for use, modification, and re

Spring JSR-250 annotations -1

Reprinted from: http://www.infoq.com/cn/articles/spring-2.5-part-1 Note configuration relative to the XML configuration has many advantages: It can take full advantage of Java's reflection mechanism to obtain the class structure information, which can

spring Profile

August 18, 2005 In this three-part introduction to Spring framework, a series of articles of the first period, will begin to learn how to use Spring technology to build lightweight, robust J2EE applications. Regular developerWorks contributor Naveen Balan

Struts, Hibernate, Spring Surface Questions

Hibernate works and why to use? Principle: 1. Read and parse the configuration file 2. Read and parse mapping information, create a SessionFactory 3. Open Sesssion 4. Creating Service Transation 5. Persistence operations 6. To commit the transaction 7. Cl

[Servlet/Jsp/J2EE technical basis]

Technical base】 【Servlet/Jsp/J2EE servlet basics 1. servlet Introduction SUN like to use 'let' suffix to indicate the name of a small object, and group pieces. applet actually means little application (I always thought that when the applet beginne

spring-related issues

What is spring? Spring is a lightweight Inversion of Control (IoC) and Aspect-oriented (AOP) of the container frame. The design idea is to spring, single cases of mode and factory pattern First, explain the Dependency injection (DI dependency injection) a

Spring Integration Hibernate

From the network for their own reference Today may be very few J2EE application will have a direct way to JDBC persistence layer access. After all, with the object-oriented programming language to access relational databases, is a frustrating thing. Most

Configure Spring Data Source

No matter what kind of lasting through technology, we must access the database through the data connection, in the Spring, the data connection is obtained through the data source. In the past, applications, the data source is usually provided by the Web a

web.xml configuration file Xiangjie

Deployment descriptor is actually an XML file that contains a lot of description of servlet / JSP applications in all aspects of the elements, such as the servlet registration , Servlet mapping as well as the listener registration. The deployment descript

tomcat configuration Xiang Jie

1.Tomcat Introduction Jakarta Tomcat server is a Servlet / JSP container, has experienced 3.x to 4.0.x to 4.1.x changes, and now the latest version of 5.0.x, support Servlet2.4 and JSP2.0 norms. Required before installing Tomcat Install JDK, and set the e

A collection of Java Performance Optimization Tips

=== ================================ Abstract: ============= ====================== Procedures for the use of available resources (memory, CPU time, network bandwidth, etc.) is limited, the purpose of optimization is to allow programs to use the least res

spring question set 2

Spring in the ApplicationContext What is the role? beanFactory Internationalization (getMesage) Resource Management: You can directly read the contents of a file (getResource) Add web framework (by adding a servlet or listener) Event handling spring in th

Tomcat study ClassLoader

Tomcat before the study, generally borrowed from the existing UML tools to analyze the overall structure of Tomcat, but Tomcat to analyze the process must start from the analysis of Tomcat's StartUp. Tomcat startup bat file starting from the parsing,

spring configuration support of several Dao

Affairs in general, in two ways: One is dependent on the resources of a particular transaction: for example through JDBC, JTA, Hibernate Transaction. There is also a window of parameters is dependent on transaction management, such as EJB Container Servic

Transfer java written knowledge points

Java written test of knowledge transfer point from http://www.blogjava.net/javawin/archive/2010/03/15/315448.html HashMap & Hashtable: Map interface implementation class will be the only key is mapped to a particular value on: <key,value>. HashM

spring abstract framework Services

Spring provides a consistent abstraction for transaction management. This abstraction is the abstraction of Spring, one of the most important, it has the following advantages: API for different services to provide a consistent programming model, such as J

Configure a data source, spring

Configure a data source Spring in the third-party dependency package contains two data source implementation class package, One is Apache's DBCP, second, C3P0. In the Spring configuration file can take advantage of this configuration of either a data

SSH configuration exception

2010-3-27 19:12:21 org.apache.catalina.core.AprLifecycleListener init Information: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D: \ Program Files \ Java \ jdk1.6.0_06

Basic knowledge JAVA

Basic knowledge JAVA 1, object-oriented features are what 1. Abstract: Abstract is to overlook a topic unrelated to the current target those aspects in order to more fully pay attention to related aspects of the current target. Abstract did not intend to

web.xml, listener, filter, Servlet load order

In the project will always encounter some problems on the priority of loading, also recently encountered a similar, and they therefore find the information summarized, the following are reproduced some other people, after all, the good people to write the

Tomcat web.xml file in the details

Tomcat web.xml file in the details <? Xml version = "1.0" encoding = "GB2312"?> <! - Web.xml be meeting the following elements in order: <web-app> <display-name> </ display-name> defines the name of WEB ...

Detailed Analysis of Spring framework

In this three-part introduction to Spring framework of a series of articles in the first period, Spring will start learning how to use technology to build lightweight, robust J2EE applications. Regular developerWorks contributor Naveen Balani introduces t

Java programming experience (cattle were written)

To learn Java also has two years, and always dare not say how proficient, but also want to talk about their feelings, write software, school colleagues, to help people in the technology less detours on the road. Put great thing is our best hope for the Sc

java face questions -

java face questions ~ Articles Category: Java Programming 1, xml parsing technology what? What is the difference? A: DOM, SAX, STAX, etc. DOM: handling large files, the performance drop sharply. This issue is a DOM tree structure resulting from this struc

Hibernate basics: the core interface and data types

Principles: 1. Read and parse configuration file 2. Read and parse the mapping information, create a SessionFactory 3. Open Sesssion 4. Create Service Transation 5. Persistence operation 6. Commit transaction 7. Close Session 8. Close SesstionFactory Why

Surface transfer of java questions

1, xml parsing technologies which? What is the difference? A: DOM, SAX, STAX, etc. DOM: handling large files, the performance drop sharply. This issue is a DOM tree structure resulting from this structure occupied by the memory more, and it must be the DO
Recent
Recent Entries
Tag Cloud
Random Entries