Capability to use a custom Tomcat classloader to load classes in several java projects at the same classloader level than classes in a Tomcat project, see readmeDevLoader. Contact plugintomcat eclipsetotale. Warning : installing plugins on Windows 7 can fail without error message, see this article for more information and workarounds : 'Eclipse Plugin Installation and Windows User Access Control'. Works with Eclipse 3.

Author:Daile Voodoogore
Language:English (Spanish)
Published (Last):28 November 2018
PDF File Size:4.31 Mb
ePub File Size:7.74 Mb
Price:Free* [*Free Regsitration Required]

The slides in french are available and the full video of the sessions will be posted soon. A short, one minute, video overview of the evening is also published.

I used, as sample JavaFX application, a pie chart component. In this blog entry, I will explain how to build a PieChart, i. Part 1 will describe the basic of creating a Pie Chart component this blog entry.

Part 2 will describe how to make the component nice looking by adding behavior and 3D effects to be published soon.

As a component user, I would like a reusable component with an easy to use API that let me specify the following :. These will be the public attributes that end users will be able to specify.

Because I want the component to be easy to use, all these attributes except the pie chart values will have defaults, freeing component users to specify a value for each of these. The colors are expressed as an array of Color that will be used in a sequential order in the Pie. The default values for the colors are the one from the Sun Color Palette , feel free to replace with whatever makes sense for you. Technically, drawing a Pie is very easy.

Step 1 : convert the array of arbitrary values to an array of values where the sum is , each value being proportional to the original array value. For example, when the component user is giving us [25, 50, 25] it will be converted to [90, , 90] This array will contain the angle values for each part of the Pie.

Step 2: draw an Arc component of the given angle see Step 1 , starting at the angle where the previous Arc finished. Actually, to make the drawing code easier, I chose to build two arrays : one to contain the angle values, the other to contain the start angle values. ROUND fill: colors [ indexof angle mod colors. The colors will be using in the corresponding order of the colors array, going back mod to the first one when all colors have been used.

Classes that extends CustomNode must overwrite the create method to actually return something displayable in a Scene. In this code, we create a Group object made of our previously build array of Arc.

JavaFX makes it very simple to code this type of behavior with two keywords : bind and on replace. Bind allows to link, at runtime, the value of a variable or attribute with the value of an expression. Each time the expression is changed, the value is recalculated and updated. On replace behaves like a trigger in a RDBMS, it allows to execute code when the value of a variable or attribute is changing.

First, we want to recompute our angles when the values provided are changing. Secondly, I want my ARC array to be changed each time new values are provided. This is where the bind keyword is used, just replace the ARC definition listed above with. In your Main class, use the code below to actually create and display a PieChart. My next blog entry will improve this component : we will add some 3D look and we will add code to slightly move a piece out of the PieChart when the mouse is over it.

Full source code will be provided. While writing Rich Internet Application with JavaFX is relatively easy and well documented, fetching data from remote sources seemed more obscure to me. The documentation is minimal and I did not found any good tutorial describing the various techniques available to connect to a remote web service and how to parse the results.

For those of you interested in database access, my colleague Octavian just published a blog entry on the subject. Once you have installed the appropriate plugin into NetBeans , it is as simple as creating a web application, then creating a REST based web service. I used the json. The web service I created just return 4 random values, between 0 and The syntax of the returned message is. I deployed this on GlassFish v3 and tested from command line with curl :.

In my JavaFX application, I want to call this web service on a regular basis. I therefore choose to use the Timer and TimerTask Java classes to wrap the calling code and execute it on a regular time-based interval.

The first piece of code is a custom TimerTask. The URL connection is made automatically when creating an instance of the class. To get access to the document in an asynchronous way, I am using the bind and on replace capabilities provided by JavaFX. My returnValue variable is bound to request. The on replace trigger, allows to execute some code when the value of returnValue is changing, basically, it parses the resulting String with the Java based JSon classes and create an array of Number.

The last step is to create a Java Timer to trigger the TimerTask on a regular basis. I want this process to start as soon as the JavaFX application starts.

JavaFX does provide a run function for this purpose. The net result is a self-refreshing pie chart as shown below. A year ago, I quickly developed a small application to learn my kid to use a keyboard and create words by typing letters.

The application shows a word usually the first name of a family member and he must type the same word by clicking on the keyboard letters. The application is providing sound-based feedbacks to pronounce the first name and each letter typed.

I used Java and Swing , the result is showed in the screen shot below. Pretty simple but highly effective, my 4 years old boy loves to play this little game.

As you can see from the screenshot above, I am a software guy, not an graphical artist. When JavaFX came in last December, I wanted to see how easy or not it would have been to re-write this application with a somewhat more appealing and modern graphical user interface.

The result is this new application, entirely similar in terms of functionalities but with a different look and feel. I also added some animations, the letter symbols zoom in and out when the mouse is over the letter and the box is highlighted when the user clicks on it.

For the curious, you can download the source code. One of the interesting way to mesure the popularity of a software platform or framework is to capture the number of job posting requiring experience with the platform or the framework. This is the type of search indeed. And guess what? More than 6 times the growth of popularity of the other application servers.

Stil looking for evidences of GlassFish adoption? However, as great are GlassFish and OpenMQ, they lack a graphical tool allowing to browse queues and topic. Developing JMS applications without such a tool is a frustrating task, to say the least. Here comes HermesJMS. Quoted from their web site :. Note that it will only work if your Java MQ is installed to use default port Step 2 : Create a JavaMQ session.

Click on the Providers Tab on the bottom of the screen, right click anywhere inside the Classpath Groups pane and choose Add Group. Choose the 10 following JARs. Not all may be required by we did not spend the time figuring out the minimum necessary set.

Allow Hermes to scan the JARs. Click the Apply button. Your screen should now look like this :. Click on Apply, then OK. Right-click the JavaMQ session and choose Edit to open configuration dialogue again.

Pull down the Class menu and choose the com. QueueConnectonFactory class. Click OK. The last step is to actually add the queues and topics you want to monitor. Step 5 : Enjoy browsing your queues and topics. Once the Java MQ session is configured and queues of interest are configured we can interact with the Java MQ broker, view messages in destinations, truncate destinations delete all messages and so on.

The functionality of Hermes JSM can be used as required. It also describes how to connect to a remote broker, not running on the localhost. This week, NetBeans is turning 10 years old.

Join me in congratulating our team and all persons involved on that project during the last decade. I still can remember this day when I first downloaded NetBeans 1. For a full review of the Java IDE 10 years ago, read this article. You can read the original NetBeans press release on lwn. No Comments. This setup works great! People are always quite impressed when I plug my Sun Badge in a Sun Ray client and instantly receive my Windows screen running in a VM on another machine.

This setup will also work with Linux or Solaris guest. SunRays are our ultra thin desktop clients, part of our Desktop Virtualization solution.

These little business oriented devices generaly adopt a sobre grey look but do you know they can be custom branded too? This is what we did for ING Netherlands, currently adopting these desktop devices to reduce their maintenance costs, simplify the desktop administration and meet their CO2 objectives by significantly reducing power and cooling needs.

Many customers are asking for the latest and greatest features from our development trees, while asking at the same time for the security of a support contract.


Jean-Michel Doudoux

Found 1 email: wanadoo. If you're not automatically redirected, please click here. Power up your marketing and get people to pay attention to your business, pursuit, or clients. Find prospects, develop your lists, and track your marketing campaigns without even having to leave the RocketReach suite. Find the most crucial people you need to bring your product to with our advanced search features and then immediately take action, leaving your competition in the dust. Empower your sales teams to reach the right decisions makers directly, using the most accurate and up-to-date emails, phone numbers and social media links. Search and discover companies that match the right target criteria.


Jean Michel Doudoux



Influence of Filling Speed and Solidification Pressure on Macrosegregation in Squeeze-Casting


Related Articles