Top Banner
Heiko Braun <[email protected] > Mar 2010
23

Errai Workspaces

May 19, 2015

Download

Technology

hbraun

What is Errai Workspaces and what can it be used for?
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Errai Workspaces

Heiko Braun <[email protected]>Mar 2010

Page 2: Errai Workspaces

Agenda

• What is it?

• What can it be used for?

• Why should I care?

• Building blocks

• Project status

Page 3: Errai Workspaces

What is it?

Page 4: Errai Workspaces

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

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

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

What can it be used for?

Page 8: Errai Workspaces

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

i.e Drools Guvnor

> http://www.jboss.org/drools/drools-guvnor.html9

Page 10: Errai Workspaces

i.e Riftsaw Console

> http://http://www.jboss.org/riftsaw 10

Page 11: Errai Workspaces

Why should I care?

Page 12: Errai Workspaces

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

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

Building blocks

Page 15: Errai Workspaces

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

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

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

User API Sample

18

Page 19: Errai Workspaces

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

Status and roadmap

Page 21: Errai Workspaces

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

Roadmap

• Focus on SOA-P requirements, i.e.

• Guvnor/ BRMS migration

• Picketbox management tools

• Apache JUUDI console

22

Page 23: Errai Workspaces

Q&A