users@glassfish.java.net

Re: Where is this file deployment descriptor ?

From: <forums_at_java.net>
Date: Tue, 27 Dec 2011 16:49:14 -0600 (CST)

  (function(){var src =
document.getElementById('source');src.focus();src.select();src.style.boxSizing=src.style.WebkitBoxSizing=src.style.MozBoxSizing=src.style.MsBoxSizing='border-box';})();
Langue source : français [1]  Hello,
Thanks.So the file "ejb-jar_3_1.xsd" present the deployment descriptor. Is it
?

- Where we put exactly in "ejb-jar_3_1.xsd" the next contents of the file
"ejb-jar.xml" :

<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns = "http://java.sun.com/xml/ns/javaee"
version = "3.0"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation = "http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
<interceptors>
<interceptor>
<interceptor-class>com.jmd.test.domaine.ejb.MesurePerfIntercepteur</interceptor-class>
</interceptor>
</interceptors>

<assembly-descriptor>
<interceptor-binding>
<ejb-name>*</ejb-name>
<interceptor-class>com.jmd.test.domaine.ejb.MesurePerfIntercepteur</interceptor-class>
</interceptor-binding>
</assembly-descriptor>
</ejb-jar>

Thanks.

      Saisissez du texte, l'adresse d'un site Web ou importez un document
à traduire. [2] Annuler [3]
.... Traduction (français > anglais)

 

[1] void(0)
[2] http://translate.google.com/?tr=f&amp;hl=fr
[3] http://translate.google.com/?tr=t&amp;hl=fr

--
[Message sent by forum member 'chab']
View Post: http://forums.java.net/node/877180