Do you want to quickly build a Web application that can be maintained, or worked on, by other people? Google Sitebricks lets you rapidly develop Web applications that are built to last. Sitebricks uses dependency injection to do away with boilerplate code. It leverages type safety and inference to check the correctness of your application, so you catch problems at compile time instead of run time. In this article, learn how to build Web applications powered by Google Sitebricks.
Web developers who use Java™ technologies can quickly improve their applications' performance by using a cache utility. Java Caching System (JCS), a powerful distributed caching system for Java applications, is a highly configurable tool with a simple API. This article gives you an overview of JCS and shows how you can use it to speed up your Web applications.
Discover the techniques and technologies you can use to build a mashup application using Apache Geronimo, a REST-based protocol, and data from multiple sources. The mashup combines data from Google Maps and Twitter tweets to pinpoint Twitter users as they update their Twitter status.
This article presents one solution to overcome the scalability issues related to the enterprise applications that must support a mix of fast and long running business processes, or with great or small throughput.
Sinatra is a library that allows you to build almost any kind of web-based application in a very simple manner. When you code in Sinatra you’re bound only by HTTP and your Ruby knowledge. You'll obviously want to start building tiny web-applications and small services, and that's just what we'll do in this article. By the end of this article by Satish Talim, you'll be able to understand: * what Sinatra is * how to install Sinatra and its dependencies * how to build a tiny web-application * how to deploy the tiny web-app to Heroku
I'd learned several best practices that I applied when working on my desktop apps. Two of them were: * Separation of concerns: don't mix UI logic with underlying behavior. * Automated unit testing: write automated tests that verify whether your code does what you think it does.
The underlying principles here apply regardless of technology. Separation of concerns is a fundamental principle that exists to help you deal with complexity. Mixing Different responsibilities within the same object—like calculating remaining work hours, formatting data, and drawing a graph—is just asking for maintenance problems. And automated testing is crucial to getting production-quality code while still maintaining your sanity, particularly when you're updating an existing project. ASP.NET Web Forms made it very easy to get started, but, in other ways, trying to apply my design principles to Web apps was a struggle. Web Forms are relentlessly UI focused; the fundamental atom is the page. You start by designing your UI and dragging controls. It's very seductive to just start slapping your application logic into the page's event handlers
A web server handles HTTP (Hypertext Transfer Protocol) requests sent to it by web browsers. When you type in a URL —http://www.digital-web.com, for example—your computer sends out a request to look up the servers needed to handle requests and send responses back quickly. The technique for determining how to route requests to the cluster of web servers efficiently is called load balancing. It is easier to make the client code and resources highly available and scalable than to do so for the servers—serving non-dynamic content requires fewer server resources. Load balancing increases the reliability of a web site by routing requests to other servers in the cluster when one of the servers is too busy or fails.
n this two part article series by Xuekun Kou, we will discuss how to configure clusters for the GlassFish Server, and use a load balancer to distribute load across the server instances in the cluster. We will also discuss the High Availability (HA) options supported by GlassFish, and how to enable HA. The goal of this article is to help you gain the knowledge necessary for planning and creating a production-ready GlassFish Server deployment.
Improving your Web application development process is one of the best ways to avoid security vulnerabilities and nasty surprises during security assessments. Learn about the points in the software development life cycle where additional security awareness and training is needed to ensure that your organization remains successful and secure.