JBoss Seam extensions

tastelessbeachInternet και Εφαρμογές Web

12 Νοε 2013 (πριν από 3 χρόνια και 9 μήνες)

82 εμφανίσεις

Seam extensions | Developer Conference 2009
1
JBoss Seam extensions
Ondřej Skutka
JBoss Seam QE,
Red Hat
Sep 10th, 2009
Seam extensions | Developer Conference 2009
2
Security

Authentication (SSO, OpenID)

Identity management

Authorization

Permission management

CAPTCHA

Remember me
Seam extensions | Developer Conference 2009
3
OpenID

Community standard for external authentication
faces-config.xml:
Seam extensions | Developer Conference 2009
4
OpenID

Login:

Event handler for logout (when using Seam security):
Seam extensions | Developer Conference 2009
5
Authorization

Roles vs. Permissions

@Restrict annotation

Method level

Class level

Typesafe annotations

Securing web pages

Drools
Seam extensions | Developer Conference 2009
6
Authorization

Permission based
Seam extensions | Developer Conference 2009
7
Authorization

Role based
Seam extensions | Developer Conference 2009
8
Authorization

Securing web pages
Seam extensions | Developer Conference 2009
9
Authorization
Seam extensions | Developer Conference 2009
10
Authorization

Typesafe annotations

@Insert, @Read, @Update, @Delete
Seam extensions | Developer Conference 2009
11
Drools

Security rules

Can be called from Seam components or jBPM
process definitions

Dynamically deployable

BRMS

Hot deploy

Friday 10:30 – Lukáš Petrovický: Drools & JBoss
BRMS
Seam extensions | Developer Conference 2009
12
CAPTCHA

Easy setup and use
Seam extensions | Developer Conference 2009
13
CAPTCHA
Seam extensions | Developer Conference 2009
14
Remember me

Username based

Token based
Seam extensions | Developer Conference 2009
15
Mail

Sending emails

Attachments

Multiple recipients

HTML/text alternative part
Seam extensions | Developer Conference 2009
16
Mail
Seam extensions | Developer Conference 2009
17
Mail

Receiving mails

Using MDB – limitations

Mail-ra – Seam's mail adaptor
Seam extensions | Developer Conference 2009
18
Asynchronicity

Using JMS – overkill

Dispatchers

java.util.concurrent.ScheduledThreadPoolExecutor

EJB timer service

Quartz – advanced functions

Transparent @Asynchronous method annotation

Can be scheduled for later execution
Seam extensions | Developer Conference 2009
19
Asynchrocity
Seam extensions | Developer Conference 2009
20
iText

PDF (HTML, RTF) generation

Using JSF controls rendered into PDF

Charting (jFreeChart)

Bar charts

Line charts

Pie charts

Bar codes
Seam extensions | Developer Conference 2009
21
iText
Seam extensions | Developer Conference 2009
22
Microsoft
®
Excel
®

based on JExcelAPI library
Seam extensions | Developer Conference 2009
23
More features

jBPM for controlling workflow

Friday 9:30 – jBPM

Jiří Pechanec

RSS

Groovy


Questions?


Questions?
Thank you!