13.07.2015 Views

JSR 290: Web UI for Java ME applications - download - Java

JSR 290: Web UI for Java ME applications - download - Java

JSR 290: Web UI for Java ME applications - download - Java

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>JSR</strong> <strong>290</strong>: <strong>Web</strong> <strong>UI</strong> <strong>for</strong><strong>Java</strong> <strong>ME</strong> <strong>applications</strong>Natalia MedvedenkoPetr Panteleyev1


Agenda• Landscape of <strong>Java</strong> <strong>ME</strong> User Interfaces• <strong>JSR</strong> <strong>290</strong> capabilities• <strong>JSR</strong> <strong>290</strong> API• Code example2


Landscape of <strong>Java</strong> <strong>ME</strong> <strong>UI</strong><strong>JSR</strong> <strong>290</strong>:XML Markup, Layout,Styling, Scripting, Simple<strong>for</strong>m G<strong>UI</strong> components...<strong>JSR</strong> 287:SVG Tiny 1.2LCD<strong>UI</strong>:Canvas GameCanvasForms<strong>JSR</strong> 226<strong>JSR</strong> 239:OpenGL ES API<strong>JSR</strong> 184:3D Graphics API3


What is <strong>JSR</strong> <strong>290</strong>?<strong>Java</strong> TM Language & XML User Interface MarkupIntegration API -• API <strong>for</strong> FL<strong>UI</strong>D - FLexible User InterfaceDevelopment• possibility of the creation of <strong>Java</strong> <strong>ME</strong> <strong>applications</strong>based on> graphical richness of <strong>Web</strong> <strong>UI</strong> technologies> the power of the <strong>Java</strong> <strong>ME</strong> plat<strong>for</strong>m4


<strong>JSR</strong> <strong>290</strong> Advantages• leveraging existing expertise and tools <strong>for</strong> <strong>Web</strong>development• natural integration with <strong>Web</strong> services• separation of User Interfaces from the applicationlogic> possibility to modify User Interface withoutchanging <strong>Java</strong> <strong>ME</strong> Application> usage of <strong>Web</strong> services <strong>for</strong> remote customizing ofUser Interfaces5


<strong>JSR</strong> <strong>290</strong> API• <strong>for</strong> loading, manipulating and playing XML UserInterface content> control the execution of scripts> provide custom backgrounds and overlays whenrendering XML User Interfaces> load content from the application's resources• <strong>for</strong> displaying various <strong>Web</strong> content types• <strong>for</strong> enabling <strong>Java</strong> language to ECMAScriptcommunication through DOM structure and eventsupport6


<strong>JSR</strong> <strong>290</strong> WorkflowFluid <strong>UI</strong> XMLMarkupScripts


DOM API Support - org.w3c.dom.*


Fluid API - javax.fluid.*• Create> FluidManager> FluidImage• Play> FluidPlayer• Render> FluidComponent> FluidGraphics• Scripts support> XMLHTTPRequestFilter• Load external resources> ExternalResourceHandler


Code example


Thank you

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!