From PHP to Transactions--airhacks.fm Podcast

Subscribe to airhacks.fm podcast via: spotify| iTunes| RSS

The #53 airhacks.fm episode with Ondrej Chaloupka (@_chalda) about:

the journey from PHP to the innerworkings of Local-, Distributed Transactions (2PC / XA) on a Jakarta EE / Java EE server.
is available for download.

See you at Web, MicroProfile and Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.


Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition

airhacks.fm the podcast:

Stay in touch: airhacks.news.

JakartaONE: Live Coding with Jakarta EE and MicroProfile #slideless

In this slideless JakartaONE conference session I used openliberty 19.0.8 and Payara Full servers. OpenLiberty 19.0.6 passed the Jakarta EE 8 TCK (see results) and therefore is Jakarta EE 8 compatible.

...this is probably the very first live coding demo which uses a certified Jakarta EE 8 runtime:

See you at Web, MicroProfile and Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.


Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition

airhacks.fm the podcast:

Stay in touch: airhacks.news.

Java EE 8 to Jakarta EE 8 Migration

To migrate a Java EE 8 project to Jakarta EE 8, replace the following dependency:


<dependency>
    <groupId>javax</groupId>
    <artifactId>javaee-api</artifactId>
    <version>8.0</version>
    <scope>provided</scope>
</dependency>

...with Jakarta EE 8 API

<dependency>
    <groupId>jakarta.platform</groupId>
    <artifactId>jakarta.jakartaee-api</artifactId>
    <version>8.0.0</version>
    <scope>provided</scope>
</dependency> 

The resulting ThinWAR is pom:

<project>
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.airhacks</groupId>
    <artifactId>jakarta</artifactId>
    <version>0.0.1</version>
    <packaging>war</packaging>
    <dependencies>
        <dependency>
            <groupId>jakarta.platform</groupId>
            <artifactId>jakarta.jakartaee-api</artifactId>
            <version>8.0.0</version>
            <scope>provided</scope>
        </dependency>         
    </dependencies>
    <build>
        <finalName>jakarta</finalName>
    </build>
    <properties>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <failOnMissingWebXml>false</failOnMissingWebXml>
    </properties>
</project>    

...can be conveniently build with wad.sh and deployed to all Java EE 8 and Jakarta EE 8 runtimes.

See you at Web, MicroProfile and Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.


Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition

airhacks.fm the podcast:

Stay in touch: airhacks.news.

MicroProfile, Business Constraints, Outbox, lit-html, OData, ManagedExecutorService, Effective Java EE, Minishift, Quarkus-the 66th airhacks.tv

The 66th airhacks.tv episode covering:

MicroProfile polyfills, ensuring consistency in business constraints, outbox transactional pattern, lit-html, minishift and okd, parsing images from stream, odata and backend for frontend, quarkus and bulkheads, JWTenizr on CI/CD, WARs on Docker, and recent podcasts

...is available:

Any questions left? Ask now: https://gist.github.com/AdamBien/1a227df3f1701e4a12a751d3f7d1633e and get the answers at the next airhacks.tv.

See you at "Build to last" effectively progressive applications with webstandards only -- the "no frameworks, no migrations" approach, at Munich Airport, Terminal 2 or effectiveweb.training (online).


Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition

airhacks.fm the podcast:

Stay in touch: airhacks.news.

The Page Visibility API

The Page Visibility API is useful for removing listeners (or stopping background processes) from hidden tabs or pages.

You only have to register a visibilitychange listener:


document.addEventListener('visibilitychange', _ => { 
    const state = document.visibilityState;
    console.log('document is: ',state);
})    

Hiding the page / making it visible again prints:


document is:  hidden
document is:  visible    

See it in action:

See you at "Build to last" effectively progressive applications with webstandards only -- the "no frameworks, no migrations" approach, at Munich Airport, Terminal 2 or effectiveweb.training (online).


Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition

airhacks.fm the podcast:

Stay in touch: airhacks.news.

The First Line of Quarkus--airhacks.fm Podcast

Subscribe to airhacks.fm podcast via: spotify, iTunes, RSS

The #52 airhacks.fm episode with Emmanuel Bernard (@emmanuelbernard) about:

learning programming, ORM mappers, JPA, Hibernate contributions, bean validations, extending Hibernate to NoSQL, Java optimizations, GraalVM, Kubernetes, next generation Java EE application servers and Quarkus
is available for download.

See you at Web, MicroProfile and Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.


Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition

airhacks.fm the podcast:

Stay in touch: airhacks.news.

MicroProfile, Business Constraints, Outbox, lit-html, OData, ManagedExecutorService, Effective Java EE--or 66th airhacks.tv

Topics for 66th airhacks.tv episode (https://gist.github.com/AdamBien/a47834f9c6dc4f85fe2de58084ac0246):

  1. The MicroProfile polyfills
  2. Dealing with business constraints -- or pessimistic vs. optimistic locks
  3. Implementing the Outbox Transactional pattern with or without dependencies
  4. Browsersync, lit-html and document.write
  5. Minishift vs. OKD
  6. Parsing (loading) an image from an InputStream
  7. OData and backend for frontend
  8. ManagedExecutorService and Quarkus
  9. "The Effective Java" book in Java EE projects
  10. Forking GPL3 projects
  11. Using JWTenizr in CI/CD pipelines
  12. EAR / WAR deployments on docker
  13. What should a JavaEE developer know in 2019?
  14. Blog comment: Jakarta EE archetype
  15. Blog comment: Quarkus Scheduler and Kubernetes
  16. Blog comment: Abstract Data Access Object (or not)

Any questions left? Ask now: https://gist.github.com/AdamBien/a47834f9c6dc4f85fe2de58084ac0246 and get the answers at the next airhacks.tv.

See you at Web, MicroProfile and Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.


Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition

airhacks.fm the podcast:

Stay in touch: airhacks.news.

Authentication and Authorisation as Joy - airhacks.fm Podcast

Subscribe to airhacks.fm podcast via: spotify| iTunes| RSS

The #51 airhacks.fm episode with Sebastien Blanc (@sebi2706) about:
Logo, authorisation and authentication, Java EE, Keycloak features and integrations, Oauth, JWT and OIDC.
is available for download.

See you at "Build to last" effectively progressive applications with webstandards only -- the "no frameworks, no migrations" approach, at Munich Airport, Terminal 2 or effectiveweb.training (online).


Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition

airhacks.fm the podcast:

Stay in touch: airhacks.news.

Shipping Fallback Scripts with "nomodule"

All recent browsers come with good support for WebComponents, ES 6 and ES 6 modules, so you can develop and ship a web application without any build, or transpilation steps (even without npm), and generate a fallback script on e.g. Jenkins and deliver it with the script nomodule attribute:

See you at "Build to last" effectively progressive applications with webstandards only -- the "no frameworks, no migrations" approach, at Munich Airport, Terminal 2 or effectiveweb.training (online).


Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition

airhacks.fm the podcast:

Stay in touch: airhacks.news.

Unidirectional Dataflow with WebComponents, async fetch and CustomEvents

Separating backend access (HTTP communication) and the presentation using asynchronous fetch API, Web Components,CustomEvents and a bit lit-html:

See you at "Build to last" effectively progressive applications with webstandards only -- the "no frameworks, no migrations" approach, at Munich Airport, Terminal 2 or effectiveweb.training (online).


Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition

airhacks.fm the podcast:

Stay in touch: airhacks.news.

Online Workshops
realworldpatterns.com
...the last 150 posts
...the last 10 comments
License