Thanks a lot for this release and very clear example.

Attached is DevelopmentControllerFactory that should be used during
development only. It allows on-the-fly redefinition of controller
classes and faster redeployment of really big web applications using
Maverick. For details, plz, read Java Docs in
DevelopmentControllerFactory.java.

Since base controller class of my apps extends throwaway bean, it's
tested using throwaways only. Anyway, I hope it is of value for someone.


Thanks,
Yuri.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eelco
Hillenius
Sent: Sunday, June 27, 2004 11:44 PM
To: [EMAIL PROTECTED]
Subject: RE: [Mav-user] Eclipse plugin

Ok, that's done. A new release is out now, supporting a pluggable
controller
factory. Note that one of the other changes for this release is the
dependency on Commons Logging instead of Log4J.

I also included an example of how to use a custom controller factory in
the
manual.

Have fun!

Eelco

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eelco
Hillenius
Sent: zondag 27 juni 2004 11:28
To: [EMAIL PROTECTED]
Subject: RE: [Mav-user] Eclipse plugin


I'll look into making the controller factory pluggable today - if the
original authors do not mind? If it can be done without messing up too
much
code, I will include it in the next release. I'll keep in touch via this
list.

Eelco 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Yurii Urazlin
Sent: zondag 13 juni 2004 18:05
To: [EMAIL PROTECTED]
Subject: RE: [Mav-user] Eclipse plugin


If you could change controller (say, add another getXxx method), compile
it,
and see changes on-the-fly without need to reload anything, then, I
think,
your productivity could be higher, just like it could be with use of
very
neat eclipse plug-in.

I think that 'reloading' is used here in 2 different senses, because I
don't
see the way to reload controller classes without custom implementation
of
ControllerFactory (patch). I mean reloading as it's described here, in
chapter 3.1: http://citeseer.ist.psu.edu/liang98dynamic.html


BTW, aside from productivity improvements, I also have another
application
for pluggable controller factory: I'd like to have ability to create
controller instances with dynaop.

Yuri.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eelco
Hillenius
Sent: Sunday, June 13, 2004 3:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [Mav-user] Eclipse plugin

[...]

Now about the pluggable controller factory. Actually that has been the
only
functionality in Maverick I found lacking myself. On the other hand I -
and
you too in this case - could just use the reload command to
re-initialise
the controllers, so I never realy considered proposing a patch.

Eelco

----- Original Message ----- 
From: "Yurii Urazlin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 02, 2004 10:59 AM
Subject: RE: [Mav-user] Eclipse plugin


Greetings,

Sorry, but I don't think that it should be in plug-in.

1. With IDEA you can click class name in XML files and it will open its
source. Probably, Eclipse itself should provide this functionality?

2. If you use unpacked web-app and disabled caching in
XSLTransformFactory,
than you do not have to re-deploy anything. You just change it, and it
is
used.


I think that there is sense in using adaptive classloader for
throwaways. It
would reload controller classes as they change without redeployment. If
there was pluggable ControllerFactory, I could provide a patch.

Yuri.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Hernandez
Sent: Wednesday, June 02, 2004 1:23 AM
To: [EMAIL PROTECTED]
Subject: Re: [Mav-user] Eclipse plugin

What about using the config file to help navigate to the controller
classes.
It would be nice to be able to see your project space in terms of the
commands and controllers, and then to navigate to the source files
associated with them. Just an idea...

Also, if you are using xsl stuff (with domify) it would be great if the
tool
could pick up the xml transform data at various steps and do local
(development) transforms with the xsl sources without having to deploy
to
the app server. Then you could do front-end presentation testing, html
validation and such, in eclipse without having to deploy new version of
the
application. If this doesn't make sense I write in a little more detail,
just let me know.




----- Original Message ----- 
From: "Eelco Hillenius" <[EMAIL PROTECTED]>
> I'm kind of working on an Eclipse plugin for Maverick. After making
some
> contributions for the Jetty Plugin (http://spindle.sourceforge.net) I
> decided that now is the time to really learn how to write them
properly.
> Right now, the plugin does some pretty printing of the Maverick config
file,
> and displays it's structure in the outline view a little bit smarter
than
> just the XML outline.
>
> Does anyone have any good ideas for a useful Maverick plugin (or...
are
> people interested in such a plugin at all?).
>
> Eelco
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle
10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> [INVALID FOOTER]
>


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate
today! http://www.installshield.com/Dev2Dev/0504
[INVALID FOOTER]




-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate
today! http://www.installshield.com/Dev2Dev/0504
[INVALID FOOTER]



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate
today! http://www.installshield.com/Dev2Dev/0504
[INVALID FOOTER]




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend
Black
Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com [INVALID
FOOTER]



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
[INVALID FOOTER]



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
[INVALID FOOTER]

Attachment: opt-development.jar
Description: opt-development.jar

Attachment: opt-development-src.jar
Description: opt-development-src.jar

Reply via email to