Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
J2EE packaging

J2EE packaging

2003-12-23       - By ashraf galal

 Back
Reply:     1     2     3     4     5     6     7     8     9     10  

<html><div style='background-color:'><P><BR><BR></P>
<DIV>
<P><BR><BR></P>
<DIV>
<P><BR><BR></P>
<DIV>
<P>What I want to say is JNDI is not alternative to class loading since class
loader is different from implementation to implementation.</P>
<P>also whatever you did or you can do to establish portability between
applications server you almost redo a lot of work and need experience in each
application server and you have to understand the class loading techniques for
every application server implementation <BR><BR></P><BR><BR><BR>
<DIV>Ashraf Galal <BR>(416)804-8359</DIV>&gt;From: Katz Guy <GUY_KATZ@(protected)
.COM>&gt;Reply-To: An interest list for Sun Java Center J2EE Pattern Catalog
<J2EEPATTERNS-INTEREST@(protected)>&gt;To: J2EEPATTERNS-INTEREST@(protected)
&gt;Subject: Re: J2EE packaging &gt;Date: Tue, 23 Dec 2003 10:17:05 +0200 &gt;
&gt;hi; &gt;your remarks are not very clear so I don't really understand what
you are &gt;trying to say. but I will add the following: &gt;1. what do you
mean don't worry about portability? - obviously you never had &gt;to produce an
application that runs over more than one app server. packaging &gt;your
application according to the recommendations and best practices will &gt;get
you quite a long way to portability - using app server specific features &gt
;wont!. &gt;2. J2EE classloading hierarchy is a subject that is not mandated by
the J2EE &gt;spec. there are several recommendations but that's it. there is a
big hole &gt;there and the result is a different classload
ing hierarchy for almost every &gt;App server (allthough may share the same
logic). &gt;thanks. &gt; &gt;-- --Original Message-- -- &gt;From: ashraf galal
[mailto:ashrafwg@(protected)] &gt;Sent: Tuesday, December 23, 2003 3:28 AM &gt
;To: J2EEPATTERNS-INTEREST@(protected) &gt;Subject: Re: J2EE packaging &gt; &gt
; &gt; &gt; &gt; &gt; &gt; &gt;To Katz Guy : &gt; &gt;Application servers are
totally different. so there is no need to wary about &gt;portability between
them. &gt; &gt;class loader is J2EE specification used for packing and
deploying &gt;applications while JNDI used for creating, adding, removing,
searching and &gt;modifying directory objects. &gt; &gt;so I think this ides is
not valid. &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;Ashraf Galal &gt;(416
)804-8359 &gt; &gt;From: Katz Guy &gt;Reply-To: An interest list for Sun Java
Center J2EE Pattern &gt;Catalog &gt;To: J2EEPATTERNS-INTEREST@(protected) &gt
;Subject: Re: J2EE packaging &gt; &gt;Date: Sun, 21 Dec 2003 08
:09:40 +0200 &gt; &gt;Hi; &gt;I think messing with the &gt;classloaders
defaults is not a good idea. You will &gt;eventually have &gt;portability
problems cause the hierarchies are different &gt;between app &gt;servers.. &gt
;You should think of a more creative idea such as putting this &gt;object &gt;
(singleton) in the JNDI tree and access it from both apps &gt;Also, &gt
;sometimes its not that bad to have two instances of your object (even &gt; &gt
;though it's a singleton), especially if it holds read only data, if this &gt;
&gt;does not compromise your application logically, it will just cause some &gt
;form &gt;of duplication in caching of data. &gt; &gt;-- --Original Message-- --
&gt; &gt;From: joe@(protected) [mailto:joe @(protected)] &gt;Sent: Friday,
December 19, &gt;2003 10:07 AM &gt;To: J2EEPATTERNS-INTEREST@(protected) &gt
;Subject: Re: J2EE &gt;packaging &gt; &gt; &gt;Sachin, &gt; &gt;Your problem can
be solved by modifying your EAR &gt;settings in WSAD. Like you &g
t;say, each war module has by default its own &gt;classloader and is isolated
from &gt;the rest of the application. This means &gt;that calling ejb modules
from the &gt;war is ok but calling one war from &gt;another is not possible.
&gt; &gt;To allow calls into the war from another war, &gt;you need to change
the War &gt;classloader policy from MODULE to APPLICATION in &gt;the Server
(WebSphere Test &gt;environment) configuration. &gt; &gt;You find this in &gt
;the server perspective (I assume you use WSAD 5.x), from &gt;the Server &gt
;Configuration view, select the test server you are running on and &gt;open it.
&gt;In the Applications tab at the far right of the configuration you &gt;will
find &gt;the Application Options. Select the EAR you are running and change &gt
;the War &gt;classloader policy. &gt; &gt;Hope this solves your problem. &gt;
&gt;Best regards, &gt;J�rn &gt;�lmheim &gt;SCEA &gt;Statoil ASA &gt; &gt; &gt;==
=====================================================
============= &gt; &gt;Companion Site: http://www.corej2eepatterns.com &gt
;J2EE BluePrints: &gt;http://java.sun.com/blueprints/corej2eepatterns &gt;List
Archive: &gt; &gt;http://archives.java.sun.com/archives/j2eepatterns-interest
.html &gt; &gt;Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to &gt; &gt
;listserv@(protected) &gt; &gt;************************************************
*************************** &gt;* &gt;*************************** &gt;This
footnote confirms that this email &gt;message has been scanned by PineApp &gt
;Mail-SeCure for the presence of &gt;malicious code, vandals &amp; computer
viruses. &gt; &gt;*************************************************************
************** &gt;* &gt;*************************** &gt; &gt; &gt;=============
======================================================= &gt; &gt;Companion Site:
http://www.corej2eepatterns.com &gt;J2EE BluePrints: &gt;http://java.sun.com
/blueprints/corej2eepatterns &gt;List Archive: &gt;http:
//archives.java.sun.com/archives/j2eepatterns-interest.html &gt; &gt
;Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to &gt;listserv@(protected)
.com &gt; &gt; __ __ &gt; &gt;Add photos to your messages with MSN 8. &gt;<HTTP:
2749??PS="" 8HMAENCA g.msn.com> Get 2 months FREE*. &gt;=======================
============================================= &gt;Companion Site: http://www
.corej2eepatterns.com J2EE BluePrints: &gt;http://java.sun.com/blueprints
/corej2eepatterns List Archive: &gt;http://archives.java.sun.com/archives
/j2eepatterns-interest.html &gt;Unsubscribing: email "signoff J2EEPATTERNS
-INTEREST" to &gt;listserv@(protected) &gt;************************************
**************************************** &gt;*************************** &gt
;This footnote confirms that this email message has been scanned by PineApp &gt
;Mail-SeCure for the presence of malicious code, vandals &amp; computer viruses.
&gt;*******************************************************************
********* &gt;*************************** &gt; &gt; &gt; &gt;=================
=================================================== &gt;Companion Site: http:/
/www.corej2eepatterns.com &gt;J2EE BluePrints: http://java.sun.com/blueprints
/corej2eepatterns &gt;List Archive: http://archives.java.sun.com/archives
/j2eepatterns-interest.html &gt;Unsubscribing: email "signoff J2EEPATTERNS
-INTEREST" to listserv@(protected) </DIV></DIV></DIV></div><br clear=all><hr
>MSN 8 helps  <a href="http://g.msn.com/8HMAENCA/2743??PS=">ELIMINATE E-MAIL
VIRUSES. </a> Get 2 months FREE*. </html>
====================================================================
Companion Site: http://www.corej2eepatterns.com
J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns
List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.