Problems encountered and to be solved in the company project1: In principle, in addition to their own code, the public jar should not be packaged in the ear, so the package is too large, also does not conform to the layered logic, inside the JBoss container, each ear of the packet repeat jar will be transferred to the internal JBoss, resulting in a waste of excessive server resources, An occasional exceptio
configured to the EJB project, the user-created Lib, the third-party LIB, and the system Lib to clearly indicate the dependency relationship. This design provides the possibility for JBoss container optimization. It is also fully proven in the startup and restart speed of JBoss EAP 6.1.However, from the developer's point of view, although the development environ
is well resolved: EJB Jndi names can no longer be arbitrarily customized, Ejbjndi's full name specification:
Java:global[/
It contains the war package name App-name,jar package name Module-name, custom bean name Bean-name, the full address name of the interface, and stateful if you need to declare stateful. such as: commondao/utm/common_dao!com.hp.ngoss.utm.commondao.commondaobusiness
The client of EJB3.1
the subsystem of the container, so it is loaded under profile because you do not know what data source to use, there is no module in the extensions that was previously loaded by default that specifies this data source-driven module. We need to load in The module attribute in the,* Here is actually a two driver, one is the general DataSource one is xa-datasource,xa-datasource in this article at the end of a brief supplement. 3. Configure the data source for the
is 6, which implements Java EE 6.
JBoss 7, which implements Java EE 7, has released 7.0.0, 7.0.1, 7.0.2, 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.2.0, where 7.1.1 is more classic, 7.2.0 is the basis of JBoss EAP 6.1 , but 7.1.2, 7.1.3, 7.2.0 is the source code of the Tag, and did not
on the internet. EJB container, the Java EE APP Server, suddenly we found something that was downloaded more than 1 million in a day.This is jboss3.x.It was the jboss3.2.x version that JBoss pushed to real enterprise applications, when only 20 trillion of small things could be second-tier and actually cross-platform, and its start-up was only 11MB. I also met JBoss at the time.JBoss's performance has to be
initialization of VMCocould not reserve enough space for object heap
The reason is that the memory is too large. Change standalone. conf. BAT to 256 m 512 M.
Java_opts:-server-xms1304m-xmx1304m-XX: maxpermsize = 256 m -djava.net. prefer12004stack = true-djboss. modules. system. pkgs = org. JBoss. byteman-djava. AWT. headless = true
Execute standalone. bat again
Access URL http: // localhost: 8080 open the following page and click administration cons
Development tools: Eclipse LUMA (Requires Oracle Java EE 6 installed)JBoss Version: Jboss-as-web-7.0.2.finalThe following is a development step, and it is relatively straightforward to develop a deployment EJB in JBoss 7.Readers are required to properly install the above software platform and have mastered the ability
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.