deployment - How to Deploy Simple Java Projects into EAR? -


I am using MyEclipse and I use an Enterprise Application Project (EAP) which automatically Deploys Web and EJB projects.

These projects use some other projects which are only POOOs, "simple" Java projects like a library, just like the thing.

The problem is that when I change things in "simple" Java projects, I have to appoint my entire EAP in my whole JP to see the changes.

Do I want the EAP to have a way of automatically deploying those projects (POOSO), so the hot code replacement also works with those people.

Any thoughts?

With JBoss, you can set your JAR in the server / default / deployed directory Can Drop - It was at least accurate with older versions - thanks (hate it or love it).

With Weblogic, you can use "".

In both cases, notable features are ownership, i.e. non standard and using them will not make your application portable.


Sorry, I mean automatically: 1) Running Server 2) Modify something on the Java project 3) Oh, oh, let me manually You must redeploy the library (a jar, copying and restarting the server). I want to make changes in it myself, such as a hot deployment object.

Ah, it just got it. In that case, "Explored archive deployment" is the only way and supported by MyEclipse (and JBis). Quote:

MyEclipse can deploy Web, EJB, and Enterprise App projects on any MyEclipse enabled application server. Two deployment packaging methods are supported by MyEclipse: Stored deployment and package deployment explosion.

  • Explosive archive deployment - This is a development-centric but non-standard J2EE application, similar to the deployment of packaging and deployment model packages, a JPEG standard directory / file structure In order to be consistent, the resources of an application are organized. However, instead of creating and deploying a stored file, the entire application resource structure - directories and files - has been copied by the application server connector to the special deployment location of the server for the blasted archives. By using the "Sync-on-demand" technology, the MyEclipse Deployment Service will synchronize all MyEclipse project deployments with all source changes in their respective MyEclipse projects. Note: Explosion deployment is not supported by the J2EE standard and not all applications are supported by servers.

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -