Errai Workspaces
-
Upload
hbraun -
Category
Technology
-
view
453 -
download
0
Transcript of Errai Workspaces
![Page 2: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/2.jpg)
Agenda
• What is it?
• What can it be used for?
• Why should I care?
• Building blocks
• Project status
![Page 3: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/3.jpg)
What is it?
![Page 4: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/4.jpg)
Workspaces and tools
• Workspace is a collection of tools
• Tools represent anything you like
• Build in GWT
• Workspaces is UI framework ...
• ... but also a development environment
• API, Sandbox, Repository
4
![Page 5: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/5.jpg)
UI Framework
• Foundation to which to deploy your tools
• Provides loading, initialization and access to tools
• Consists of common, shared API and services
• Authentication, Logging, Exception Handling, etc
5
![Page 6: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/6.jpg)
Development environment
• Not just another GWT library
• Provides complete sandbox:- GWT SDK installation- Build environment
• Ways to distribute and integrate tool implementations:- Versioning- Repository
• Aims at:- Low barrier entry point- Collaboration
6
![Page 7: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/7.jpg)
What can it be used for?
![Page 8: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/8.jpg)
Use cases
• Building rich client applications
• Management functionality beyond operational level
• Few constraints on tool implementation
• High expectations on:- User experience- Interactivity
8
![Page 9: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/9.jpg)
i.e Drools Guvnor
> http://www.jboss.org/drools/drools-guvnor.html9
![Page 10: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/10.jpg)
i.e Riftsaw Console
> http://http://www.jboss.org/riftsaw 10
![Page 11: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/11.jpg)
Why should I care?
![Page 12: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/12.jpg)
Considerations
• Tool composition at various stages- sandbox, project, product
• Different feature set, maturity and target audience
• Tool interplay important part of the strategy
12
![Page 13: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/13.jpg)
Composition and interplay
• i.e. Guvnor and BPM Console
• Distinct tools on a project level
• Composition at product level
• Or simply re-use of tools in other projects
• Picketbox Identity Management tools
13
![Page 14: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/14.jpg)
Building blocks
![Page 15: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/15.jpg)
Workspace sandbox
• Low barrier entry point
• Java knowledge, IDE, API Docs
• Environment to build, test and distribute your tools
• Maven archetype
• Auto GWT setup
• Includes necessary libraries
15
![Page 16: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/16.jpg)
Sandbox example(1) mvn archetype:generate [...]
(2) Define value for groupId: : org.picketbox.console Define value for artifactId: : IdentityManagement Define value for version: 1.0-SNAPSHOT Define value for package: org.picketbox.console
(3) cd IdentityManagement mvn gwt:run
(4) Point your browser to http://localhost:xyz
(5) Open IDE and start hacking
16
![Page 17: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/17.jpg)
Workspace API
• Reduction of boilerplate
• Use to wire tools within a workspace
• Split between - user (building tools)- framework (extending workspace)
17
![Page 18: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/18.jpg)
User API Sample
18
![Page 19: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/19.jpg)
Federation of tools
• Leverage central repository
• Maven in this case
• Mix and match:
• Project vs. Product
• JBoss vs. 3rd Party
• Foster re-use and extendability
• Divide and conquer
19
![Page 20: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/20.jpg)
Status and roadmap
![Page 21: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/21.jpg)
Status
• Released 1.0 in March 2010
• Baseline for tool development
• Ready to get your hands on
• Already used in- Riftsaw, jBPM and Drools Flow
• 8 weeks release cycle
> http://jboss.org/errai
21
![Page 22: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/22.jpg)
Roadmap
• Focus on SOA-P requirements, i.e.
• Guvnor/ BRMS migration
• Picketbox management tools
• Apache JUUDI console
22
![Page 23: Errai Workspaces](https://reader031.fdocuments.in/reader031/viewer/2022020217/555a6190d8b42ae7218b4794/html5/thumbnails/23.jpg)
Q&A