Where is sun ejb jar.xml




















It is still supported for backward compatibility see the GlassFish 4 deployment guide , page B The deployment guide describes its technical structure and is a good start for any question you might have about a specific element of the file. Examples of how-to really use the file is spread out through the entire document base. All other application servers will most likely ignore this file. Making your application dependent on the contents of this file is the same as making your application non-portable.

Thus, it should be avoided as much as possible. Unless otherwise stated, settings in the GlassFish Server deployment descriptors override corresponding settings in the Java EE standard descriptors and in the GlassFish Server configuration.

The overridable standard and portable descriptor file is ejb-jar. The presence of the file is optional and should probably not be used if all you do with the file is describe bean behavior and services from the application server that is used. Unless application developer and application deployer is different persons with different needs, or unless you have a requirement to define different beans based on the same class, then you'll be more than covered using annotations only.

That way, declared application server services is more tightly bounded to the code that actually uses the services. It will increase the readability of your code and make more sense to more people. One arguable important and encouraged use of the file is to put customizable environment entries in the descriptor file.

If your application is packaged in an EAR file, consider using the application. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Where is the documentation for sun-ejb-jar. Ask Question. Asked 10 years, 10 months ago. Active 7 years, 9 months ago.

Viewed 2k times. Improve this question. Bogdan Bogdan 5, 9 9 gold badges 37 37 silver badges 60 60 bronze badges. Add a comment. The glassfish-application-client. The sun-acc. The glassfish-resources. GlassFish Server offers limited support for the weblogic-application. The only element in weblogic-application. The equivalent element in the glassfish-application. The elements of weblogic. The elements of weblogic-webservices.

Similar to endpoint-address-uri in glassfish-web. Accepts true or false , defaults to true. Controls the publishing of WSDL to clients. Accepts true or false , defaults to false. Partially supported. Maps to ReliableMessagingFeature. Returns enum values, one of them is exponential. In WebLogic Server this value applies regardless of activity. In Metro it applies only to inactive sequences. Here is a corresponding sample sun-cmp-mappings. Table B-3 weblogic-webservices. Configures a web application WAR file.



0コメント

  • 1000 / 1000