Hi Bryan
> . but it didn't seem to work, I believe I would have to specify the
> input in the struts config
> file and I intend for this page to be called from any page in the
> application.
Yeps, the input forward fetched by the method mapping.getInputForward() is
the one defined in the Stru
Hi there
Now, it shouldn't be much slower. However, there is a performance tradeoff
when using EJB, specially remote ones like you do.
One thing, that really speeds up things is to cache the home interface, when
looking it up, or when the applications starts up.
First use will still be slow, but s
Glad to help.
I even optimized this further down the road, but it depends on your
application if you can do that.
I used the BusinessDelegate pattern to employ the concept of a
BusinessPlugin. That is an interface to the EJB Session Facade, but
implemented as a POJO. There's a one-to-one relation
Hi Marco
> I have questions coz I m interested in that approach..
I am happy that you find it interesting :-)
> I assume u have a config file for telling the PlugIn Mgr what
> To load, correct?
The plugins, names and classed that implement the plugin interface are
stored in a table in a databa
Hi
> 2. If the application scale up to cluster, this design seems can't deal
with it
> (because the client always invoke remote object that was downloaded to
> cache, which is not dynamically locate by app. server in a cluster
> environment.)
Is this really an issue? Maybe I do not understand you
> isn't that in a cluster the app server 'replicates' the JNDI tree, so
> that u won't have to bother if one of the servers in a cluster shuts
> down?
Se my other post. I think it's up to the J2EE Server to provide "cluster
transparacy" to the clients.
> I m no expert in cluster, and I was wande
Hi Marco
> right, so I assume every Action class that u write subclasses
> PlugInManagerAction, correct?
Correct
> I don't like putting parenthesis :-) coz everything that I get
> From ServletContext is an object
>
> It doesn't bother me much.. but I m still wandering if I can add
> Let's s
Hi Robert
> This approach sounds similar to the Spring IoC framework.
> Objects are defined in an xml file and a manager loads them
> into memory. Your action class looks up beans using something
> like:
> MyBD bd = (MyBD)applicationContext.getBean("MyBD");
I wasn't aware of that. I have seen so
Hi there
> [To HG]
> I said the problem deal with cluster means:
> assume we have 3 servers (S1, S2, S3) form a cluster and one Struts
> plugins deal with home object caching (P1)
>
> when the application start up, P1 with get all home interfaces from
> the cluster and
Hi Peng
> Well just a shot in the dark but maybe a slight speed up maybe achieved by
> pre-compiling jsps possibly.
Do you have any link or so, that explains this. Thinking of adding a
"precompile jsp task" to my ANT script..?
Regards
Henrik
--
document somewhere
> around their website which should be able to get you started, well if
> not just try their forums.
>
> On Fri, 23 Jul 2004 08:53:16 +0200, HG <[EMAIL PROTECTED]> wrote:
> > Hi Peng
> >
> > > Well just a shot in the dark but maybe a slight
task is also vaiable.
- regards
Raj
(+91-11-31261821)
-Original Message-----
From: HG [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 1:18 PM
To: Struts Users Mailing List
Subject: Re: About Struts + JBoss preference issue
Thanx Peng
I will check it out..
- Original Message -
From
Hi Chris
I used iText (http://www.lowagie.com/iText/) in the past to generate the PDF
and then JavaMail API to send it as an attachment. Works great..
Regards
Henrik
- Original Message -
From: "CRANFORD, CHRIS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 02,
September 02, 2004 2:09 PM
Subject: RE: PDF & Email
> Have any code snippets you could share on how to pass the generated PDF to
> javamail as an attachment. That would greatly expedite my coding
efforts...
>
>
> TIA
> Chris
>
> -Original Message-
> From: HG
mmons-email");
> email.send();
>
>
> no painfull
>
> Storage and so on ... :-)
>
> it is easy... more than easy
>
>
> Regards,
> Matthias
>
> > -Original Message-
> > From: HG [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 02, 2
Hi..
Hmmm.. I do not see why (in the code you came across) one should both
populate a form with the properties of the DTO + set the DTO as an attribute
on the request object?
It should be enough to populate the form with properties from the DTO.
I have seen other solutions where Views (JSPs) alw
Hi Andy
A session variable can be "expensive". Why not just put it on the request by
using "request.setAttribute" in one action and getting it again using
"request.getAttribute" in another action?
What is your "parameter"? A simple type, object, graph of objects?
- Original Message -
Forget my previous post. Was answering an answer... :-) Might need some
sleep.. :-)
- Original Message -
From: "andy wix" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 30, 2004 1:03 PM
Subject: NEWBIE: How to pass parameters between JSPs
> Hi,
>
> It's probably b
e same instance that is passed into the login
action. Hence he params are not present in the login action.
The param I want to pass is a Map of name/value pairs.
Maybe the standard solution is to just put it in the session?
TIA -Adam
-Original Message-
From: HG [mailto:[EMAIL PROTE
If I later try to fish them out in the Login action they are
not available - because the request instance has changed. I did not use the
ActionForm to pass them from Login.jsp to Login Action.
Is using the ActionForm like you suggest the normal way to handle this
situation? (i.e. "passing
Hi
With Rose (pre XDE product from Rational), you cound reverse engineer the
relevant Struts jar files and save it in a model/package for reuse. Evrytime
you need it, you just apply the "Struts model" to your existing model.
Dunno, if you can do something alike in XDE, but think so...If it support
Hi
It's no different from a Tomcat installation. Checkout
http://struts.apache.org/userGuide/installation.html
In JBoss (depending on version, I use 3.2.6) you find the web deployment
descriptor in the deploy dir of you JBoss server. The directory is called
something like "jbossweb-tomcat50.sar",
22 matches
Mail list logo