Category Archives: Architecture

Performance Matters or Not

Joel Spolsky had a post “Strategy Letter VI“. And I did agree with him to some degree when reading the post. And I decided to write a post about these opinions related to Java2Script later in the evening. And later … Continue reading

Posted in Architecture, GWT, Hacks, JavaScript, SWT | 3 Comments

Performance of Comet and Simple Pipe

About one and a half months ago, I introduced Java2Script Simple Pipe, another Comet implementation. At that time, I knew there were lots of performance issues on such Comet technology. Because at that time I were busy and it was … Continue reading

Posted in Architecture, Articles, Comet, JavaScript | Leave a comment

Introducing Java2Script’s Simple Pipe

Communications between server and browser are essential things in AJAX world. Basic Knowledge Each HTTP connection is forked by browser. And one HTTP connection may serve multiple sessions in HTTP 1.1 but server only one session in HTTP 1.0. There … Continue reading

Posted in Architecture, Browser, JavaScript | 4 Comments

Regarding GWT

You must already know GWT if you learn Java2Script by “Java to JavaScript compiler”. I seldom mentioned GWT in “Java2Script” topics in the past, except an article “GWT v.s. Java2Script SWT” in early days when GWT was announced. But late … Continue reading

Posted in Architecture, GWT | Leave a comment

Asynchrony is Everything

You may know “Position is Everything” already. And I believe you should also know “Asynchony is Everything” or “Everything is Asynchronous” in RIA development. Asynchrony is not only very important in web application development but also vital in normal desktop … Continue reading

Posted in Architecture, Hacks | Leave a comment

Browser Statistics Among Web Developers

Here are some numbers about browsers used among web developers: 1. Firefox 54.63% 2. Internet Explorer 38.10% 3. Opera 3.84% 4. Safari 1.56% 5. Mozilla 1.34% Firefox versions: 1. 2.0.0.3 50.74% 2. 2.0.0.4 30.25% 3. 1.5.0.11 6.05% 4. 1.5.0.12 3.65% … Continue reading

Posted in Architecture, Browser | Leave a comment

QoS of JavaScript

You must be aware of QoS when you are writing Rich Internet Application (RIA), especially when you are using AJAX. Why? And what aspects should be considered in QoS of RIA? Here are some points: 1. Loading JavaScript file *.js … Continue reading

Posted in Architecture, Hacks, JavaScript | Leave a comment

Compressing and Deploying JavaScript

For AJAX, deploying JavaScript files may be important for you or not. If you are professional in AJAX, you must know the details of JavaScript deployment. First, you can compress your JavaScript files before deploying them. Common compressors may cut … Continue reading

Posted in Architecture, Hacks, JavaScript | 1 Comment

Packing in Java2Script

Usually, when you develop new features, you split functions into pieces and implement them one by one. And in Java development, there will be implemented by one *.java file and another. If you want to deploy the finished feature, you … Continue reading

Posted in Architecture, Hacks | 2 Comments

Asynchronous Programming

In my early Java2Script development days, I think a lot about asynchronous programming. AJAX was hot and is still hot. What is most important factor in AJAX technologies? I think it is “Asynchronous”. Without asynchronous programming, visitors still need to … Continue reading

Posted in Architecture, Hacks | Leave a comment