Java EE and Angular 4 Demo

Java EE and Angular Demo Web demo: http://javademo.io GitHub : https://github.com/marco76/java-demo Java EE 8 will come this year with a lot of newsworthy improvements and some possible disappointments (MVC, JAX-RS NIO etc). With the goal … Read More

Java EE 8 – CDI 2.0: Events and Observers

Observable Event example with CDI 2.0 (Java EE 8) Demo: http://javademo.io/cdi-weather Code source: GitHub CDI website: http://www.cdi-spec.org/ CDI documentation: https://docs.jboss.org/cdi/spec/2.0-PFD2/cdi-spec.html CDI specifications: https://www.jcp.org/en/jsr/detail?id=365 With Java EE 8 CDI will receive a major upgrade. Between the … Read More

Angular and JavaScript: export your data to CSV using Typescript

Npm: https://www.npmjs.com/package/@molteni/export-csv GitHub: https://github.com/marco76/export-csv Limitations: This method doesn’t work on Safari. Online example: http://angular.cafe Goal: easily export the table’s from your Angular or JavaScript application to Excel / CSV Very often in our professional web … Read More

Angular 2: how to import your css file with Webpack without errors

According to the Angular documentation load an external style file in a component is as easy as : template: ` <h2>{{hero.name}}</h2> <hero-team [hero]=hero></hero-team> <ng-content></ng-content> `, styleUrls: [‘app/hero-details.component.css’] This configuration is challenging when you have building … Read More