Welcome!

Microservices Journal Authors: Pat Romanski, Plutora Blog, Liz McMillan, Carmen Gonzalez, Lori MacVittie

Related Topics: Java, Microservices Journal, AJAX & REA, Web 2.0

Java: 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
DevOps approaches within “Unicorns” vary significantly from the reality of DevOps in the enterprise. Most enterprises manage portfolios of heterogeneous applications that are increasingly interconnected, delivered by global teams, at various stages of technology maturity, and are often encumbered by additional compliance and governance obligations. In his session at DevOps Summit, Dalibor Siroky, Director and co-founder at Plutora, will discuss the emerging and evolving experiences of Agile, Co...
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...
Here are a few questions to help you assess the scope of your release management challenges. Based on the answers to these questions, you can calculate your Release Management risk factor. This will help you understand what steps you need to take today to mitigate release management risks that accompany software development at scale. These 100 people don't have to be in a single group and the systems maintained don't have to be limited to a single group. Also, note that the systems supported...
It's a "given" in software development - release schedules always slip. Requirements shift, developers underestimate timelines, and quality assurance (QA) finds unexpected defects. Another law of software development is that final release dates are often inflexible. If a market or a holiday shopping season defines your release date you understand how important it is to meet a fixed timeline. Once you've promised a release to the business at the end of the quarter, you are under pressure to de...
Lacking the traditional fanfare associated with any technology that can use the word "container" or mention "Docker" in its press release, Ubuntu Core and its new Snappy system management scheme was introduced late last year. Since then, it's been gaining steam with Microsoft and Amazon and Google announcing support for the stripped-down version of the operating system. Ubuntu Core is what's being called a "micro-OS"; a stripped down, lean container-supporting machine that's becoming more pop...
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...
Cloud computing seems destined to be the way enterprises will use information technology. The drastic cost reductions and impressive operational improvements make the transition an unstoppable trend. The “What is cloud computing?” question now, however, seems to be morphing into “Where is cloud computing going?” While software-as-a-service (SaaS) providers see their market rocketing upward as the easiest and quickest path for cloud adoption, infrastructure-as-a-service providers are suffering...
SYS-CON Events announced today Isomorphic Software, the global leader in high-end, web-based business applications, will exhibit at SYS-CON's DevOps Summit 2015 New York, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. Isomorphic Software is the global leader in high-end, web-based business applications. We develop, market, and support the SmartClient & Smart GWT HTML5/Ajax platform, combining the productivity and performance of traditional desktop software ...
SYS-CON Events announced today that B2Cloud, a provider of enterprise resource planning software, will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. B2cloud develops the software you need. They have the ideal tools to help you work with your clients. B2Cloud’s main solutions include AGIS – ERP, CLOHC, AGIS – Invoice, and IZUM
Containers and microservices have become topics of intense interest throughout the cloud developer and enterprise IT communities. Accordingly, attendees at the upcoming 16th Cloud Expo at the Javits Center in New York June 9-11 will find fresh new content in a new track called PaaS | Containers & Microservices Containers are not being considered for the first time by the cloud community, but a current era of re-consideration has pushed them to the top of the cloud agenda. With the launch ...
The world's leading Cloud event, Cloud Expo has launched Microservices Journal on the SYS-CON.com portal, featuring over 19,000 original articles, news stories, features, and blog entries. DevOps Journal is focused on this critical enterprise IT topic in the world of cloud computing. Microservices Journal offers top articles, news stories, and blog posts from the world's well-known experts and guarantees better exposure for its authors than any other publication. Follow new article posts on T...
SYS-CON Events announced today that MangoApps will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY., and the 17th International Cloud Expo®, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. MangoApps provides private all-in-one social intranets allowing workers to securely collaborate from anywhere in the world and from any device. Social, mobile, and eas...
There is no doubt that Big Data is here and getting bigger every day. Building a Big Data infrastructure today is no easy task. There are an enormous number of choices for database engines and technologies. To make things even more challenging, requirements are getting more sophisticated, and the standard paradigm of supporting historical analytics queries is often just one facet of what is needed. As Big Data growth continues, organizations are demanding real-time access to data, allowing immed...
There are 182 billion emails sent every day, generating a lot of data about how recipients and ISPs respond. Many marketers take a more-is-better approach to stats, preferring to have the ability to slice and dice their email lists based numerous arbitrary stats. However, fundamentally what really matters is whether or not sending an email to a particular recipient will generate value. Data Scientists can design high-level insights such as engagement prediction models and content clusters that a...
The cloud has transformed how we think about software quality. Instead of preventing failures, we must focus on automatic recovery from failure. In other words, resilience trumps traditional quality measures. Continuous delivery models further squeeze traditional notions of quality. Remember the venerable project management Iron Triangle? Among time, scope, and cost, you can only fix two or quality will suffer. Only in today's DevOps world, continuous testing, integration, and deployment upend...
It was just two years ago, in March of 2013, that the PaaS company dotCloud decided to open-source its container technology under the name "Docker." Docker quickly became a hit, with Docker Meetups spawning weekly worldwide and downloads occurring at record-breaking rates. The dotCloud team quickly changed direction, renamed the company "Docker," and brought in new CEO Ben Golub in July 2013 to lead the new business model. At the time, Docker was about a twenty-person company. Fast-forward to to...
Chuck Piluso will present a study of cloud adoption trends and the power and flexibility of IBM Power and Pureflex cloud solutions. Speaker Bio: Prior to Secure Infrastructure and Services, Mr. Piluso founded North American Telecommunication Corporation, a facilities-based Competitive Local Exchange Carrier licensed by the Public Service Commission in 10 states, serving as the company's chairman and president from 1997 to 2000. Between 1990 and 1997, Mr. Piluso served as chairman & founder...
To manage complex web services with lots of calls to the cloud, many businesses have invested in Application Performance Management (APM) and Network Performance Management (NPM) tools. Together APM and NPM tools are essential aids in improving a business's infrastructure required to support an effective web experience... but they are missing a critical component - Internet visibility. Internet connectivity has always played a role in customer access to web presence, but in the past few years u...
2015 is the 10th birthday of Ruby on Rails (or simply called Rails), the popular open source web application framework that uses the Ruby programming language. Ever since Rails burst on the scene a decade ago it has continued to scale up as an elegant way to build dynamic websites quickly and efficiently. Rails has garnered a strong following, especially among tech startups. In fact, some of the best known firms out there are using the framework to build their sites. Examples of elegant sites bu...
Working with Big Data is challenging, especially when decision makers depend on market insights and intelligence from your data but don't have quick access to it or find it unusable. In their session at 6th Big Data Expo, Ian Khan, Global Strategic Positioning & Brand Manager at Solgenia; Zel Bianco, President, CEO and Co-Founder of Interactive Edge of Solgenia; and Ermanno Bonifazi, CEO & Founder at Solgenia, discussed how a revolutionary cloud-based BI along with mobile analytics is already c...