DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations

E4 and Web 2.0 - Is There a Better Way?

David Orme user avatar by
David Orme
·
May. 14, 08 · Interview
Like (0)
Save
Tweet
Share
5.54K Views

Join the DZone community and get the full member experience.

Join For Free

in the web 2.0 - or are we going the wrong way? , tom accurately compares web 2.0 with 3270 (and 5250) terminals of yesteryear and wonders aloud if e4 belongs on web 2.0.

this is a good question. what is the right way to go, both politically and technically?

industry forces

the way i look at it, the following forces are shaping the industry's solution to this problem:

  • low-touch deployment model. web pages load fast into the browser. hot-deploy changes to the server and clients automatically pick them up.
  • install the client once. desktops are very expensive to install and maintain. the web browser is already on literally every desktop out there, courtesy of microsoft and the mozilla foundation. adobe flash is nearly ubiquitous too.
  • a rich experience is preferred. google search will probably remain a web 1.0 application. but for anything much more complicated than this, the world is moving toward a richer internet experience.

technical choices

given these realities, let's list the technical means for deploying rich internet applications and then draw some conclusions about good places to consider investing in e4.

  • ajax -based web 2.0 applications.
  • flash-based applications.
  • java web start.
  • create a browser plugin like flash, but that just includes osgi, swt, and probably a security model.
  • create a brand new universal network client based on eclipse rcp.

let's look at each of these in turn.

ajax-based web 2.0 applications

tom already described the weaknesses of ajax : it's basically a hack to turn asynchronous xml requests from a browser into a rich graphical terminal. ajax applications tend to be sluggish, as they can require round-trip network requests to anywhere in the world and rely on interpreted javascript operating over a dom .

having said this, ajax 's biggest advantage is that it is already supported everywhere the web is. ajax is basically the least common denominator platform for rich web applications.

flash-based applications

flash is well-understood and fairly ubiquitous, but it is proprietary. it is not as well supported on 64 bit platforms. however, it has a better programming model for really rich graphics.

for example, there is no standard analog of an swt graphics context in ajax javascript, so something like flash is required in order to implement generic graphics drawing over the web.

java web start

java web start has a reputation for being roundly hated by java programmers. i have no personal experience with it so perhaps people can elaborate in the comments.

jws has the disadvantage that its content is not integrated into the web browsing experience. it's basically a way to bootstrap a regular java application over the web. (again, if i'm wrong, someone please correct me in the comments.)

a new browser plugin like flash, but that just includes osgi, swt, and probably a security model

this could be really cool to do. osgi and swt running in the browser would be very nice. with less than a 4 meg starting footprint, this could be really practical too.

the main problem here is that nobody has written it yet. also, whoever writes it would need to have someone on staff who is really good at security, if this thing is to be deployed on the wild, wild web ( www ). ;-)

a brand new universal network client based on eclipse rcp

at jpmorgan, we've already done this . ( see also .) the riena project at eclipse is also working on this. this makes tons of sense within the corporate firewall because:

  1. you can control deployment of a new universal network client
  2. there normally is a well-defined security model already in place.

to be a general solution, however, someone would have to figure out the security implications of running arbitrary osgi bundles over the wild, wild web. and then the challenge would be to make such a universal network client truly universal on the internet– ie: deployed to every desktop.

conclusion

looking at the above forces and solutions, it seems to me that ajax is an obvious platform for building out a new generation of rich internet applications. it is everywhere.

however, i agree that we we will probably run into the limitations of ajax fairly soon and want something better.

the only two possibly-viable solutions i can see above are flash and a custom swt browser plugin. i'd vastly prefer the latter, but fear that the former will win, simply because it's there.

is there any interest in the community writing a swt-based web browser plugin? is this a hopeless cause?

some commenters on my bliki feel strongly that a brand new rcp universal web client is the right approach.

what do you think?

Web 2.0 application

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • 7 Most Sought-After Front-End Frameworks for Web Developers
  • Using GPT-3 in Our Applications
  • Build an Automated Testing Pipeline With GitLab CI/CD and Selenium Grid
  • Practical Example of Using CSS Layer

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: