Click here to close now.

Welcome!

@MicroservicesE Blog Authors: John Wetherill, Elizabeth White, Liz McMillan, Sematext Blog, Carmen Gonzalez

Related Topics: Java IoT, @MicroservicesE Blog, IoT User Interface, Agile Computing

Java IoT: Blog Post

Applet Deployment Techniques for Platform Deterministic Libraries

It is possible to launch an Applet in a way that will only download the relevant files for the target system

The following code is an example JNLP file that can be utilized to deploy an Applet with platform targeted libraries.

  1. <!--?xml version="1.0" encoding="UTF-8"?-->
  2. <jnlp spec="1.0+" codebase="" href="webrenderer-applet.jnlp">
  3. <security>
  4. <all-permissions>
  5. </all-permissions></security>
  6. <!-- Resources for all platforms -->
  7. <resources>
  8. <j2se version="1.6+">
  9. <jar href="TestBrowser.jar">
  10. <jar href="webrenderer-swing.jar">
  11. </jar></jar></j2se></resources>
  12. <!-- Platform specific resources -->
  13. <resources os="Windows" arch="amd64">
  14. <jar href="webrenderer-swing-windows64.jar">
  15. <jar href="corecomponents-swing-windows64.jar">
  16. </jar></jar></resources>
  17. <resources os="Windows" arch="x86">
  18. <jar href="webrenderer-swing-windows32.jar">
  19. <jar href="corecomponents-swing-windows32.jar">
  20. </jar></jar></resources>
  21. <resources os="Linux" arch="amd64">
  22. <jar href="webrenderer-swing-linux64.jar">
  23. <jar href="corecomponents-swing-linux64.jar">
  24. </jar></jar></resources>
  25. <resources os="Linux" arch="i386 x86">
  26. <jar href="webrenderer-swing-linux32.jar">
  27. <jar href="corecomponents-swing-linux32.jar">
  28. </jar></jar></resources>
  29. <resources os="Mac\ OS\ X" arch="x86_64">
  30. <jar href="webrenderer-swing-osx64.jar">
  31. <jar href="corecomponents-swing-osx64.jar">
  32. </jar></jar></resources>
  33. <resources os="Mac\ OS\ X" arch="i386 x86">
  34. <jar href="webrenderer-swing-osx32.jar">
  35. <jar href="corecomponents-swing-osx32.jar">
  36. </jar></jar></resources>
  37. <resources os="Sun" arch="sparc">
  38. <jar href="webrenderer-swing-solaris32.jar">
  39. <jar href="corecomponents-swing-solaris32.jar">
  40. </jar></jar></resources>
  41. <applet-desc name="TestBrowser Applet" main-class="TestBrowserApplet.class" width="900" height="700">
  42. </applet-desc>
  43. </jnlp>

This JNLP file (webrenderer-applet.jnlp) specifies the WebRenderer libraries as resources under different Operating Systems and Architectures. Through this deployment specification only the files needed are downloaded to the target machine. For demonstration purposes WebRenderer is run from a simple program called TestBrowser (included with the WebRenderer download) and is specified at the end of the JNLP file above under “applet-desc”.

Enabling JNLP deployment for Applets requires an extra param tag to be added inside the Applet tag that refers to the JNLP file:

  1. <code>
  2. <param name="jnlp_href" value="webrenderer-applet.jnlp">
  3. </code>

The architecture used on a particular platform by the Applet depends on the Java architecture that the browser is using. So on a 64-bit OS that is using 32-bit Java, the 32-bit WebRenderer libraries will be used.

The values for “arch” property are the same as is returned in Java by the function:

  1. System.getProperty("os.arch")

As with all Applets, each library will need to be signed. Details on signing your Applets resources can be found here..

And for more information on WebRenderer, please visit us here.

More Stories By Duncan Thomas

Duncan Thomas, VP of sales at JadeLiquid Software, is a tech guy caught up in the business of tech!

@MicroservicesExpo Stories
In the first four parts of this series I presented an introduction to microservices along with a handful of emerging microservices patterns, and a discussion of some of the downsides and challenges to using microservices. The most recent installment of this series looked at ten ways that PaaS facilitates microservices development and adoption. In this post I’ll cover some words of wisdom, advice intended for individuals, teams, and organizations considering a move to microservices. I've gleaned...
Virtualization is everywhere. Enormous and highly profitable companies have been built on nothing but virtualization. And nowhere has virtualization made more of an impact than in Cloud Computing, the rampant and unprecedented adoption of which has been the direct result of the wide availability of virtualization software and techniques that enabled it. But does the cloud actually require virtualization?
"For the past 4 years we have been working mainly to export. For the last 3 or 4 years the main market was Russia. In the past year we have been working to expand our footprint in Europe and the United States," explained Andris Gailitis, CEO of DEAC, in this SYS-CON.tv interview at Cloud Expo, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
Container technology is sending shock waves through the world of cloud computing. Heralded as the 'next big thing,' containers provide software owners a consistent way to package their software and dependencies while infrastructure operators benefit from a standard way to deploy and run them. Containers present new challenges for tracking usage due to their dynamic nature. They can also be deployed to bare metal, virtual machines and various cloud platforms. How do software owners track the usag...
The release of Kibana 4.x has had an impact on monitoring and other related activities.  In this post we’re going to get specific and show you how to add Node.js monitoring to the Kibana 4 server app.  Why Node.js?  Because Kibana 4 now comes with a little Node.js server app that sits between the Kibana UI and the […]
"Appcore has been around since January 2008. We exclusively built clouds for service providers. We've been working with CloudStack since about that same time and our software sits on top of CloudStack," stated Jeff Tegethoff, CEO of Appcore, in this SYS-CON.tv interview at 15th Cloud Expo, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
Growth hacking is common for startups to make unheard-of progress in building their business. Career Hacks can help Geek Girls and those who support them (yes, that's you too, Dad!) to excel in this typically male-dominated world. Get ready to learn the facts: Is there a bias against women in the tech / developer communities? Why are women 50% of the workforce, but hold only 24% of the STEM or IT positions? Some beginnings of what to do about it!
"We are the top stocking distributor for HP renew products in North America. We can only sell to U.S. authorized partners and resellers for HP," explained Miguel Diazdelcastillo Jr., Sales Executive at Creative Business Solutions, in this SYS-CON.tv interview at Cloud Expo, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that the "First Containers & Microservices Conference" will take place June 9-11, 2015, at the Javits Center in New York City. The “Second Containers & Microservices Conference” will take place November 3-5, 2015, at Santa Clara Convention Center, Santa Clara, CA. Containers and microservices have become topics of intense interest throughout the cloud developer and enterprise IT communities.
The 5th International DevOps Summit, co-located with 17th International Cloud Expo – being held November 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA – announces that its Call for Papers is open. Born out of proven success in agile development, cloud computing, and process automation, DevOps is a macro trend you cannot afford to miss. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the...
"Ulunsoft is a start-up that focuses on how enterprises build cloud-based IT infrastructure for business," explained Haibo Zhu, President of Ulunsoft Corp, in this SYS-CON.tv interview at Cloud Expo, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
The 17th International Cloud Expo has announced that its Call for Papers is open. 17th International Cloud Expo, to be held November 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA, brings together Cloud Computing, APM, APIs, Microservices, Security, Big Data, Internet of Things, DevOps and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding bu...
The 4th International Internet of @ThingsExpo, co-located with the 17th International Cloud Expo - to be held November 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA - announces that its Call for Papers is open. The Internet of Things (IoT) is the biggest idea since the creation of the Worldwide Web more than 20 years ago.
SYS-CON Events announced today that SUSE, a pioneer in open source software, will exhibit at SYS-CON's DevOps Summit 2015 New York, which will take place June 9-11, 2015, at the Javits Center in New York City, NY. SUSE provides reliable, interoperable Linux, cloud infrastructure and storage solutions that give enterprises greater control and flexibility. More than 20 years of engineering excellence, exceptional service and an unrivaled partner ecosystem power the products and support that help ...
With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo in Silicon Valley. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be! Internet of @ThingsExpo, taking place Nov 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 17th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading in...
Matt and I first met in the Summer of 2014 at DevOpsDays Minneapolis. My first introduction came when he (and several other DoD alums) participated in an impressive round of DevOps Karaoke. Matt gave an IGNITE talk on day two of the event titled “How to Hire Your First DevOp” as well. I learned during that event that he co-hosted a DevOps specific podcast that was gaining in popularity. It made perfect sense. Not long after Minneapolis, I began trading emails with the organizers of DevOpsDays C...
17th Cloud Expo, taking place Nov 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Meanwhile, 94% of enterprises a...
SYS-CON Events announced today that the "First Containers & Microservices Conference" will take place June 9-11, 2015, at the Javits Center in New York City. The “Second Containers & Microservices Conference” will take place November 3-5, 2015, at Santa Clara Convention Center, Santa Clara, CA. Containers and microservices have become topics of intense interest throughout the cloud developer and enterprise IT communities.
ThingsExpo New York is offering a limited time FREE "Expo Plus" registration option in New York. On site registration price of $1,95 will be set to 'free' for delegates who register during special offer. To take advantage of this opportunity, attendees can use the coupon code, and secure their registration to attend all keynotes, ThingsExpo sessions, expo floor, and SYS-CON.tv power panels. Special FREE registration givess access to all DevOps, Containers and Microservices sessions as well. Regi...
"Blue Box has been around for 10-11 years, and last year we launched Blue Box Cloud. We like the term 'Private Cloud as a Service' because we think that embodies what we are launching as a product - it's a managed hosted private cloud," explained Giles Frith, Vice President of Customer Operations at Blue Box, in this SYS-CON.tv interview at DevOps Summit, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.