It all depends on what you mean by 'clustering'. Are you clustering it
just so you can scale it in terms of handling extra load? If you're
working with stateless services, which is what appfuse does out of the
box, you can simply put a load balancer in front of your app, something
like apache mod proxy or mod jk. If you're saying you need distributed
objects with replicated state, ask yourself why, and if you really do.
If that's the case, terracotta (the little I know about it anyway)
should do the trick.
As to your interest in ejb 3.0, something similar is in the works. I'm
working on a jpa module in the sandbox right now. It is still rough
around the edges (tests pass, but it pukes when I try to get it going
with the application as a whole inside jetty). While these are not
technically EJB's (or the 3.0 variety), they are similar in that the
metadata describing how they should be persisted is the same as it would
be for a full blow EJB 3.0 persistence layer. If you're interested in
taking a look or lending a hand, please feel free to do so at:
https://appfuse.dev.java.net/svn/appfuse/sandbox/jpa-hibernate-module
Beyond that, if you want to take it to the EJB 3.0 level and feel like a
tutorial would be helpful, tutorials like this are always welcome from
anyone who would like to contribute.
--Bryan
Matt Raible wrote:
If you need clustering and more scalability with AppFuse and Spring
beans, you should be able to use Terracotta for Spring.
http://www.terracotta.org
There's no need for EJBs IMHO.
Matt
On 12/20/06, denon82 <[EMAIL PROTECTED]> wrote:
thanks for the quick replay,
Does anyone has any expirience integrating appfuse with ejb 3.0? Has
anyone
implemented that? Would you think it would be a good idea to create a
tuturial on how to integrate appfuse with ejb?
For me it would be really good cause ejb suppors clustering witch really
helps the application to become scalable. :D
Thanks,
Flávio Oliva
Michael Horwitz wrote:
>
> Hi,
>
> As AppFuse is based on Spring it should be fairly easy to get
AppFuse to
> use
> Spring to connect to EJB's on the service layer. It is worth noting
that
> you
> do not have to use EJB's to make your application scalable -
AppFuse will
> scale quite happily on its own. I guess it all depends on the
specifics of
> your project!
>
> Mike
>
> On 12/20/06, denon82 <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello my friends,
>>
>> How difficult would it be to integrate appfuse with EJB? Appfuse
is great
>> project, but how can I make it scalable? How can I cluster an appfuse
>> based
>> application if it doesnt use ejb?
>>
>> Thanks,
>>
>> Flávio Oliva
>> --
>> View this message in context:
>> http://www.nabble.com/Appfuse-%2B-EJB-tf2859110s2369.html#a7988079
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Appfuse-%2B-EJB-tf2859110s2369.html#a7988346
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]