AngularJs is often seen as a viable solution for building full scale single page web applications. In this post we will go over how Angular is particularly well suited for building form-intensive large scale apps due it’s numerous form validation features (example).
- The problem…
- Types of Scaling
- Load Balance your scaled out cluster
- Is my application stateless or stateful ?
- Enter Replicated Clustering
- External store for stateful components
- Final frontier: Distributed In-Memory Cache
- Further reading (mostly Weblogic specific)
- Before I sign off…
To be honest, ‘scalability’ is an exhaustive topic and generally not well understood. More often than not, its assumed to be same as High Availability. I have seen both novice programmers and ‘experienced’ architects suggest ‘clustering‘ as the solution for scalability and HA. There is actually nothing wrong with it, but the problem is that it is often done by googling rather than actually understanding the application itself 😉
I do not claim to be an ‘expert’, just by writing this post 😉 It just (briefly) lays out some strategies for scaling Java EE applications in general.
- Directives again
- Directives continued
- Server integration
This tutorial aims to introduce a complete beginner to AngularJS by explaining fundamental concepts and building a sample application. The application will be a simplified admin area for a multi-author blog.
Angular 2 is currently still in Alpha/Developer Preview, but the main functionality and the core documentation are both already available. Let’s gather here what is so far known about the design goals of Angular 2, and how they are planned to be implemented:
- Mains goals of Angular 2
- Simpler to reason about
- Angular 1 vs Angular 2 change detection
- More transparent internals with Zones
- Improved stack traces
- Much improved performance (and why)
- Improved modularity
- Improved Dependency injection
- Web component friendly (how and why)
- Support for Shadow DOM
- Support for native mobile rendering in Android and iOs
- Support for server side rendering
- Improved testability
- Migration path to Angular 2
Prepared statement types
While researching for the Statement Caching chapter in my High-Performance Java Persistence book, I got the chance to compare how Oracle, SQL Server, PostgreSQL and MySQL handle prepare statements.
Thanks to Jess Balint (MySQL JDBC driver contributor), who gave a wonderful answer on StackOverflow, I managed to get a better understanding of how MySQL handles prepared statements from a database performance point of view.
Basically, there are two ways of preparing a statement: on the server-side or on the client-side.