You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by vi...@apache.org on 2012/04/28 04:56:40 UTC
svn commit: r1331662 -
/openejb/site/trunk/content/Configuring-in-tomee.mdtext
Author: vishwanathk
Date: Sat Apr 28 02:56:40 2012
New Revision: 1331662
URL: http://svn.apache.org/viewvc?rev=1331662&view=rev
Log:
configuring-in-tomee
Added:
openejb/site/trunk/content/Configuring-in-tomee.mdtext (with props)
Added: openejb/site/trunk/content/Configuring-in-tomee.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/Configuring-in-tomee.mdtext?rev=1331662&view=auto
==============================================================================
--- openejb/site/trunk/content/Configuring-in-tomee.mdtext (added)
+++ openejb/site/trunk/content/Configuring-in-tomee.mdtext Sat Apr 28 02:56:40 2012
@@ -0,0 +1,42 @@
+Title: Apache TomEE configuration
+Notice: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+#Configuring Resources:
+
+* Drivers are dropped into tomeeDir/lib
+* Resources are configured in tomeeDir/conf/tomee.xml.
+* The configurations take a very simple (XML+Property-file) syntax.
+* Tag names match annotation names
+
+For example,
+
+ @Resource DataSource moviesDatabase
+
+is injected with the following resource:
+
+<code>
+<Resource id="moviesDatabase" type="DataSource">
+ JdbcDriver org.hsqldb.jdbcDriver
+ JdbcUrl jdbc:hsqldb:file:data/hsqldb/hsqldb
+ UserName sa
+ Password
+ JtaManaged true
+</Resource>
+</code>
+
+For more on how to configure, read through [configuring-datasources](/configuring-datasources.html), [containers-and-resources](containers-and-resources.html) docs.
\ No newline at end of file
Propchange: openejb/site/trunk/content/Configuring-in-tomee.mdtext
------------------------------------------------------------------------------
svn:eol-style = native