List Info

Thread: Using pebble in a jsf app




Using pebble in a jsf app
country flaguser name
Germany
2007-03-22 12:45:11
Hi.

I'm thinking about using pebble in an existing JSF webapp
where each user can create his own blog. Now I would like to
know, what's less effort - integrate pebble or write my own
blog module. Perhaps something about my environment:

- JSF Myfaces
- Hibernate
- Spring
- Acegi
- Tomcat 5.5

Basically I can think of two ways integrating pebble into
the webapp.

a) deploy pebble as a separate webapp and change the design
to match my webapp. Then link to it from my webapp. Not
really "integrated".

b) Somehow try to integrate pebble into the webapp to make
it look more embedded into the webapp.

In both cases authentication should be done easily since
pebble uses acegi - so do I. So writing an acegi
implementation for authentication against my db shouldn't be
a problem.

A bigger problem will be authorization. I would like the
users to decide, which users/groups can access their blog.
These groups (like "friends",
"colleagues" etc.) are not acegi- but
webapp-specific objects. Is there a way in pebble to handle
such things like per-user "custom-groups"?

What are your opinions/best practices?

Regards,
Veit




-- 
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen:
www.gmx.net/de/go/mailfooter/promail-out

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pebble-user mailing list
Pebble-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pebble-user


Re: Using pebble in a jsf app
user name
2007-04-12 08:08:59
Hi Veit,

Pebble has been designed as a standalone web application, so
from this
perspective I would keep it as a separate webapp. Also,
you'll give
yourself a much easier upgrade path should you wish to do
this in the
future.

It depends on your blogging requirements but, if they are
simple, you
might be better off to put something together with JSF and
Hibernate
yourself. The underlying data model is fairly
straightforward and
generating RSS feeds isn't that complicated. It really
depends on the
level of functionality you require.

I realise you posted this a while ago - did you make any
decision on
this and, if so, which route did you take?

Cheers
Simon

On 3/22/07, Veit Guna <Veit.Gunagmx.de> wrote:
> Hi.
>
> I'm thinking about using pebble in an existing JSF
webapp where each user can create his own blog. Now I would
like to know, what's less effort - integrate pebble or write
my own blog module. Perhaps something about my environment:
>
> - JSF Myfaces
> - Hibernate
> - Spring
> - Acegi
> - Tomcat 5.5
>
> Basically I can think of two ways integrating pebble
into the webapp.
>
> a) deploy pebble as a separate webapp and change the
design to match my webapp. Then link to it from my webapp.
Not really "integrated".
>
> b) Somehow try to integrate pebble into the webapp to
make it look more embedded into the webapp.
>
> In both cases authentication should be done easily
since pebble uses acegi - so do I. So writing an acegi
implementation for authentication against my db shouldn't be
a problem.
>
> A bigger problem will be authorization. I would like
the users to decide, which users/groups can access their
blog. These groups (like "friends",
"colleagues" etc.) are not acegi- but
webapp-specific objects. Is there a way in pebble to handle
such things like per-user "custom-groups"?
>
> What are your opinions/best practices?
>
> Regards,
> Veit
>
>
>
>
> --
> "Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat
...
> Jetzt GMX ProMail testen:
www.gmx.net/de/go/mailfooter/promail-out
>
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys-and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Pebble-user mailing list
> Pebble-userlists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pebble-user

>

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pebble-user mailing list
Pebble-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pebble-user


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )