jwebsocket - Java/Javascript bidirectional communication

Posted: Wednesday, January 26, 2011 by Venkat Pola in Labels:
0

In my last post i wrote about HTML5 websocket. As i dig into it i found jwebsocket.

Here is my observation:-

Pros:-

1) jWebSocket is a pure Java/JavaScript high speed bidirectional communication solution for the Web - secure, reliable and fast.
2) Make use of websockets if the browser does not support this then it will fallback to flashbridge.
3) Standalone jwebsocket server is provided. You can even add jwebsocket capabilities to existing web servers like jetty,tomcat..etc.
4) Client side plug-in is available so that you can think about only on application logic.
5) Can be used in different ways like Chat, Steaming, RPC, Shared object, Shared canvas. Lot of demos are there in the site.

Cons:-

1) What if flash crashed because of some other application in the browser.
2) Could have provided long polling too as another fallback option.
3) Need to support SSL for all browsers.
4) Could have provided some tool to perform load/stress tests. Since it is not http communication we can not perform load tests using Jmeter..etc.

Finally it is pretty awesome and very good. I am exploring it. If anyone of you using it please let me know about its performance.

Enhanced by Zemanta

HTML5 WebSocket an alternative to long polling

Posted: Monday, January 24, 2011 by Venkat Pola in Labels:
2

WebSocket API The HTML5 WebSocket API

Enhanced by Zemanta

Javascript Primer

Posted: Saturday, January 22, 2011 by Venkat Pola in Labels:
2

Lets have a look at facebook's Javascript style. It is awesome!!!

Why while(1); , for(;;); as the prefix of a REST Webservices response?

Posted: Wednesday, January 12, 2011 by Venkat Pola in Labels:
2

Most of the REST web services JSON response will be like

while(1);{"feedItem": "sdf","status": "sdfsdf","updateTime": "sdfsdf"}
for(;;);{"t":"continue"}
for(;;);["a","b","c"]

Just go through the HTTP calls made inside in Facebook, Google calender, Chatter ..etc then you can find such responses.

while(1); , for(;;); all these are infinite loops, this is ensure that some other websites cant hack other sites data. By using this we can prevent Cross domain AJAX requests made using script tags.

Enhanced by Zemanta

100 Things to Watch in 2011

Posted: Wednesday, January 5, 2011 by Venkat Pola in Labels:
0

Issues to address as part of the business plan

Posted: Tuesday, January 4, 2011 by Venkat Pola in Labels:
0

I was so impressed while reading these issues which are to be addressed as part of Business plan from Subroto Bagchi book "The High performance Entrepreneur"

1) What is the mission and vision of the organization?
2) What is my product or service? How will it evolve as a family of products or services?
3) What is the competitive landscape? How are other leading player serving the market? What trends do market research and analyst reports indicate?
4) In what way will I be different? Why should someone buy my products or services?
5) How will I get my first, paying customer? How will I price my goods or services?
6) What will be my marketing strategy?
7) What organization structure will I need? What critical skills do the founders possess and which ones need to be supplemented?
8) What capital expenditure will be needed and why? How have I determined and adequacy and the cost?
9) What revenue expenditure will be needed for the same period?
10) How is my cost structure different from that of the competition?
11) What is my three-year cash flow?
12) When will the organization reach break even?
13) What is the funding plan? How much of it will come from personal capital, how much from venture funding and what portion from loans?
14) What is the plan for recruitment, training and retention of people?
15) What are the R&D plans? How will the activity be sustained over time?
16) What are the manufacturing and distribution plans?
17) What are the various risks involved in building the organization?
18) In what way will the team de-risk those?

Enhanced by Zemanta