Home > Blogs > VMware vFabric Blog > Tag Archives: code

Tag Archives: code

6 Simple Steps: Installing vFabric Administration Server (VAS) and Provisioning tc Server across 3 Nodes

As a suite of products, vFabric offers a single SKU model that includes the entire suite. Besides offering an economically beneficial licensing model that is flexible, based on average use, and hardware independent, the vFabric team has developed the vFabric Administration Server (VAS) to help make installation, configuration, and operations easier.

If you missed a previous article explaining how VAS work and what it can do for you, VAS is based on a single system image design (SSI) and allows you to define a group of nodes where each operation on the group is applied to each node who is a member of the group. This approach provides time savings and reduces errors by keeping systems more consistent, allowing easier ways to scale, and simplifying administration. VAS also provides a robust set of REST APIs for virtually all of its functionality. In addition to vFabric tc Server, VAS can manage vFabric RabbitMQ, vFabric GemFire, vFabric SQLFire, and vFabric Web Server. VAS 1.1.1 was recently released with new features and many bug fixes.

In this article (and demonstration further below), we will show you six steps that give you an idea of how easy it is to provision using VAS. We will show you how to install VAS and use it to provision vFabric tc Server across three nodes along with a WAR file. The explanation below refers to examples from RubyGems.org and GitHub/vFabric/VAS-Ruby-API along with the latest VAS documentation.

Continue reading

3 Steps on Using Spring Insight Developer to Analyze Code

If you don’t know about Spring Insight Developer, this post may save you tons of time and potentially headache.

Imagine that you need to update some code behind a button, but you didn’t write the code. What if you could press the to-be-coded button and then see what code was invoked (including methods and arguments), the SQL invoked, and the time it took to execute?

This is what Spring Insight Developer allows you to do, and more.

It’s also free, and it uses AspectJ and AOP to load-time weave your application, you do not have to make any changes to your application code to use it.

Let’s take a look at a simple example of tracing your app, viewing the details, and seeing the code in action.

Continue reading

Expert Interview: The Polyglot Rabbit: Examples of Multi-Protocol Queues in RabbitMQ

Recently, we had the opportunity to speak with architect Brett Cameron about vFabric RabbitMQ.  A popular speaker, Brett is well known for his effort to port Erlang and RabbitMQ over to the “legacy” OpenVMS operating system platform (now owned by HP). With over 19 years in the software industry, Brett specializes in systems integration and large, distributed systems. Of course, he has spent a lot of time with OpenVMS – an OS with one of the more interesting histories in the software industry.

When we started chatting with Brett, he had recently discussed the concept of the Polyglot Rabbit with Alexis Richardson and written a great article titled, “The Polyglot Rabbit: Examples of Multi-Protocol Queues in RabbitMQ.” According to Brett, the main goal of this article is about the fact that you can publish messages into this environment via one protocol and consume via one or more other protocols (simultaneously if you want). “It’s a brilliant and a very powerful capability.” Brett felt that this capability was possibly not being promoted enough, and hopefully the article will go some way towards fixing this.

Continue reading

Buying vSphere or vCloud? Get a Free vFabric Suite Advanced License

As most followers of this blog know, vFabric Suite is a lightweight, scalable, integrated middleware suite for on-site or cloud-based data-intensive custom applications. It is the best Cloud Application Platform for running Spring/Java on virtualized infrastructure. This free license is worth checking out for a myriad of reasons – for example, you can:

Customers who place an order (from an authorized reseller, the VMware website, or VMware) that contains an eligible SKU (most vSphere and vCloud Suite SKUs, acceleration kits and upgrades, EXCEPT vSphere Essentials), will receive a Promotion Code redeemable for one (1) VM license (up to two vCPUs per VM) of vFabric Suite Advanced 5.2 with a corresponding one (1) year of Basic Support and Subscription Services for each license at no additional charge.

This promotion ends November 30, 2012 and you have until January 31, 2013 to redeem the promotion code.

For frequently asked questions, a list of eligible product SKUs, and further details, visit the promotion page.

Understanding the Difference between Spring Insight Developer & Insight Operations

Every developer knows Byte Code Instrumentation (BCI) is useful. It automates how you instrument your code, and let’s you see exactly how data is being transferred and manipulated within your application. The level of detail is essential to writing and debugging good code.

The Spring Framework has its own BCI tool, called Spring Insight. It comes in two flavors: Spring Insight Developer Edition (Insight) and Spring Insight Operations (Insight Operations). It is also bundled with AppInsight as part of the vFabric Application Performance Suite, and currently only works on Java/Spring code, a fact that is open to change with the upcoming Split-Agent Architecture.

So what is the difference?

Continue reading

Why Java Developers Need Spring Insight on CloudFoundry

Developers are realizing the benefits of using Platform-as-a-Service (PaaS) options, such as VMware’s own CloudFoundry.com, where they have choice of programming language, middleware options, and can start developing in seconds, without having to set up complicated infrastructure. While VMware runs the underlying infrastructure of CloudFoundry.com, application teams are still squarely on the hook to run and scale their applications.

Insight-for-cloud-foundry_V01

Spring Insight answers the question “what just happened with my code?” and let’s developers see how code is behaving in development, stress test, or other environments for any Java application installed within their CloudFoundry.com account. 

Continue reading