You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Cyrille37 <cy...@gmail.com> on 2006/07/12 20:38:20 UTC

[newbie] MyFaces or Barracuda ??

Hello,

I'm exploring Java solutions for a new Web Application project.

I'm coming from ASP.Net but for the new starting project, the first rule 
is plateform portability, so Java is the solution.

Unfortunately, unlike .Net, Java for Web Application is not delivered as 
a package. So I've to make an assembly of solutions to get an 
environment for creating the Web Application.

After surfing onto Java/J2EE projects, I've selected some nice stuff :
    - App Server : Enhydra
    - Framework : here is my interogation, MyFaces or Barracuda ??
    - What else is needed for a strong and well formed Web Application ??

I guess you have opinion on that question ...

Please, share your mind ;o)
Thanks
Cyrille.


Re: [newbie] MyFaces or Barracuda ??

Posted by Mikael Andersson <ma...@gmail.com>.
To get started I would recommend giving the myfaces maven archetype a go,
that will give you basic web application to get started with and uses the
Jetty6 web container, which is really nice when developing (allows you to do
this to start the web applciation 'mvn jetty6:run').

Then I would have a look at Facelets, which is easily integrated ( facelets
is also in dev.java.net's maven repository;
https://maven-repository.dev.java.net/repository/ ).

- Mike

On 12/07/06, Cyrille37 <cy...@gmail.com> wrote:
>
> Hello,
>
> I'm exploring Java solutions for a new Web Application project.
>
> I'm coming from ASP.Net but for the new starting project, the first rule
> is plateform portability, so Java is the solution.
>
> Unfortunately, unlike .Net, Java for Web Application is not delivered as
> a package. So I've to make an assembly of solutions to get an
> environment for creating the Web Application.
>
> After surfing onto Java/J2EE projects, I've selected some nice stuff :
>     - App Server : Enhydra
>     - Framework : here is my interogation, MyFaces or Barracuda ??
>     - What else is needed for a strong and well formed Web Application ??
>
> I guess you have opinion on that question ...
>
> Please, share your mind ;o)
> Thanks
> Cyrille.
>
>

Re: [newbie] MyFaces or Barracuda ??

Posted by Cyrille37 <cy...@gmail.com>.
ldr a écrit :
> MyFaces is absolute crap...
>   
I think that you laughs ;o)
> No just kidding, don't know about barracuda, but Im thrilled about how one
> can build webapplications fast with easy backend interoperability.
>   
I am not in a hurry. I've time, with my team, to learn a Framework 
before designing and implementing the webapplication.

I take time now, to explore the Java WebApplication 's world. It's hard 
because many Web Frameworks exists ...

cyrille


Re: [newbie] MyFaces or Barracuda ??

Posted by "Mirek B." <wi...@gmail.com>.
Cyrille37 wrote:
> Mirek B. a écrit :
>> It depends.
>>
>> You should consider whether you really need a full fledged app server. 
>> For a lots of projects, a simple Servlet/JSP container (e.g. Tomcat) 
>> is enough.
>>
>> Basically, when choosing an app server, JBoss and Sun Server/Glassfish 
>> are the most common options, if you need full EE stack. If you are 
>> fine with mere web container, go with Tomcat or Jetty.
> 
> Thanks for you help ;o)
> 
> I don't know yet if I'll need J2EE.
> But I know that I need a Framework to start a WebApplication because 
> many basics need have to be completed : Authentication, Caching, Input 
> Validation, State Management, Configuration, Data Access, and more ...
> 
> So I think a Framework is a must have, don't you ?
For web interface with authentication, input validation, statefullness, 
caching, I would go with Tomcat and MyFaces. Unfortunatelly built-in 
container authentication is sort of awkward in J2EE. See 
http://www.javaworld.com/javaworld/jw-07-2004/jw-0726-security.html

For data access, JDBC.

For configuration - J2SE supports "properties" which is cool for basic 
configuration needs. If you need to load up complex configuration, there 
is a nice library: http://jakarta.apache.org/commons/configuration/

> 
> About J2EE : At XWiki (a Java Wiki at www.xwiki.org) I read in the 
> features section : "Scalability and Performance using J2EE".
> I understand "Scalability" with J2EE, but I could not see how J2EE bring 
> "Performance" for a WebApplication like a wiki.... Have you got an idea 
> how J2EE can bring "Performance" to a WebApplication ?
The same way as any compiled language, as opposed to an interpreted one, 
like PHP. I think it was meant that way.

// mirek

> 
> Thanks again,
> Cyrille.
>>
>> // mirek
>>
>> Cyrille37 wrote:
>>> Adam Brod a écrit :
>>>>
>>>> My guess is MyFaces has a much, much larger market share than 
>>>> Barracuda.
>>> I think so. While I'm searching, I see that there nothing about 
>>> Barracuda on the web, except on www.barracudamvc.ogr and Enhydra.org.
>>>
>>> By the way, I'm not shure about the choice of Enhydra Server for same 
>>> reasons : not much artcile and community ...
>>>
>>> Thanks for your answer,
>>> cyrille
>>>> *
>>>> Adam Brod*/
>>>> Product Development Team/
>>>
>>>
>>>
>>
> 
> 
> 

Re: [newbie] MyFaces or Barracuda ??

Posted by Cyrille37 <cy...@gmail.com>.
Mirek B. a écrit :
> It depends.
>
> You should consider whether you really need a full fledged app server. 
> For a lots of projects, a simple Servlet/JSP container (e.g. Tomcat) 
> is enough.
>
> Basically, when choosing an app server, JBoss and Sun Server/Glassfish 
> are the most common options, if you need full EE stack. If you are 
> fine with mere web container, go with Tomcat or Jetty.

Thanks for you help ;o)

I don't know yet if I'll need J2EE.
But I know that I need a Framework to start a WebApplication because 
many basics need have to be completed : Authentication, Caching, Input 
Validation, State Management, Configuration, Data Access, and more ...

So I think a Framework is a must have, don't you ?

About J2EE : At XWiki (a Java Wiki at www.xwiki.org) I read in the 
features section : "Scalability and Performance using J2EE".
I understand "Scalability" with J2EE, but I could not see how J2EE bring 
"Performance" for a WebApplication like a wiki.... Have you got an idea 
how J2EE can bring "Performance" to a WebApplication ?

Thanks again,
Cyrille.
>
> // mirek
>
> Cyrille37 wrote:
>> Adam Brod a écrit :
>>>
>>> My guess is MyFaces has a much, much larger market share than 
>>> Barracuda.
>> I think so. While I'm searching, I see that there nothing about 
>> Barracuda on the web, except on www.barracudamvc.ogr and Enhydra.org.
>>
>> By the way, I'm not shure about the choice of Enhydra Server for same 
>> reasons : not much artcile and community ...
>>
>> Thanks for your answer,
>> cyrille
>>> *
>>> Adam Brod*/
>>> Product Development Team/
>>
>>
>>
>



Re: [newbie] MyFaces or Barracuda ??

Posted by "Mirek B." <wi...@gmail.com>.
It depends.

You should consider whether you really need a full fledged app server. 
For a lots of projects, a simple Servlet/JSP container (e.g. Tomcat) is 
enough.

Basically, when choosing an app server, JBoss and Sun Server/Glassfish 
are the most common options, if you need full EE stack. If you are fine 
with mere web container, go with Tomcat or Jetty.

// mirek

Cyrille37 wrote:
> Adam Brod a écrit :
>>
>> My guess is MyFaces has a much, much larger market share than Barracuda.
> I think so. While I'm searching, I see that there nothing about 
> Barracuda on the web, except on www.barracudamvc.ogr and Enhydra.org.
> 
> By the way, I'm not shure about the choice of Enhydra Server for same 
> reasons : not much artcile and community ...
> 
> Thanks for your answer,
> cyrille
>> *
>> Adam Brod*/
>> Product Development Team/
> 
> 
> 

Re: [newbie] MyFaces or Barracuda ??

Posted by Cyrille37 <cy...@gmail.com>.
Adam Brod a écrit :
>
> My guess is MyFaces has a much, much larger market share than Barracuda.
I think so. While I'm searching, I see that there nothing about 
Barracuda on the web, except on www.barracudamvc.ogr and Enhydra.org.

By the way, I'm not shure about the choice of Enhydra Server for same 
reasons : not much artcile and community ...

Thanks for your answer,
cyrille
> *
> Adam Brod*/
> Product Development Team/



Re: [newbie] MyFaces or Barracuda ??

Posted by Adam Brod <AB...@intralinks.com>.
My guess is MyFaces has a much, much larger market share than Barracuda.

Adam Brod
Product Development Team


ldr <ch...@niro-it.dk> 
07/12/2006 04:22 PM
Please respond to
"MyFaces Discussion" <us...@myfaces.apache.org>


To
users@myfaces.apache.org
cc

Subject
Re: [newbie] MyFaces or Barracuda ??







MyFaces is absolute crap...


No just kidding, don't know about barracuda, but Im thrilled about how one
can build webapplications fast with easy backend interoperability.

chris
-- 
View this message in context: 
http://www.nabble.com/-newbie--MyFaces-or-Barracuda----tf1932758.html#a5296748

Sent from the MyFaces - Users forum at Nabble.com.


Disclaimer: This electronic mail and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify the sender immediately by replying to this email, and destroy all copies of this email and any attachments. Thank you.

Re: [newbie] MyFaces or Barracuda ??

Posted by ldr <ch...@niro-it.dk>.
MyFaces is absolute crap...


No just kidding, don't know about barracuda, but Im thrilled about how one
can build webapplications fast with easy backend interoperability.

chris
-- 
View this message in context: http://www.nabble.com/-newbie--MyFaces-or-Barracuda----tf1932758.html#a5296748
Sent from the MyFaces - Users forum at Nabble.com.


Re: [newbie] MyFaces or Barracuda ??

Posted by "Mirek B." <wi...@gmail.com>.
Cyrille37 wrote:
> Hello,
> 
> I'm exploring Java solutions for a new Web Application project.
> 
> I'm coming from ASP.Net but for the new starting project, the first rule 
> is plateform portability, so Java is the solution.
> 
> Unfortunately, unlike .Net, Java for Web Application is not delivered as 
> a package. So I've to make an assembly of solutions to get an 
> environment for creating the Web Application.
> 
> After surfing onto Java/J2EE projects, I've selected some nice stuff :
>    - App Server : Enhydra
>    - Framework : here is my interogation, MyFaces or Barracuda ??
>    - What else is needed for a strong and well formed Web Application ??
> 
> I guess you have opinion on that question ...
> 
> Please, share your mind ;o)
> Thanks
> Cyrille.
> 
> 

Hi,

it's kinda difficult to tell without some insight on the project. For 
example, JSF is not very designer friendly (as much as ASP.NET in my 
opinion), but likewise, a working application can be put up real quick.

If it's gonna be a open-to-world web, I would probably go with something 
more designer friendly and lower level (as in lower towards pure HTML 
coding). Spring or Turbine/Velocity, for example.

I don't know about Barracuda, but what JSF totally lacked for me (in 
comparison with ASP.NET) was composite controls. This can be somewhat 
substituted using Facelets, so I would recomend trying it out: 
https://facelets.dev.java.net/

Also, you could consider using starting with Java EE 5. That would lock 
you up with Sun App Server/Glassfish and JSF RI though (at least for 
now), but could be weighted out by some new features (EJB 3 for example).

// mirek