<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Java on iniy.org</title><link>https://iniy.org/tags/java/</link><description>Recent content in Java on iniy.org</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 12 Apr 2024 11:04:36 +0000</lastBuildDate><atom:link href="https://iniy.org/tags/java/index.xml" rel="self" type="application/rss+xml"/><item><title>Golang for Java-Coders</title><link>https://iniy.org/2017/12/golang-for-java-coders/</link><pubDate>Sat, 02 Dec 2017 12:21:07 +0000</pubDate><guid>https://iniy.org/2017/12/golang-for-java-coders/</guid><description>&lt;figure&gt;&lt;img src="https://iniy.org/wp-content/uploads/2017/12/Gopher-800px.png"&#10;&#9;&#9;&#9;alt="The mocking gopher: a fitting mascot for golang"&gt;&lt;figcaption&gt;&#10;&#9;&#9;&#9;&lt;p&gt;The mocking gopher: a fitting mascot for golang&lt;/p&gt;&#10;&#9;&#9;&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;I want to share my experiences when I started programming in Golang from my perspective as a Java Coder.&lt;/p&gt;&#10;&lt;h2 id="what-is-this-and-why"&gt;What is this and why???&lt;a class="anchor" href="#what-is-this-and-why" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;So first I wanted to know what is Golang. Rumors from my colleagues put it into one class with C and C++ (which it is not), this is not true at all. Golang is not a low-level language, it is far closer to Java than to C (from an abstraction perspective). These rumors probably come from the fact that it has a small amount of keywords and control structures reminding a bit of C.&lt;/p&gt;</description></item><item><title>Migrating from Vaadin 7 to Vaadin 8</title><link>https://iniy.org/2017/02/migrating-from-vaadin-7-to-vaadin-8/</link><pubDate>Fri, 24 Feb 2017 04:26:49 +0000</pubDate><guid>https://iniy.org/2017/02/migrating-from-vaadin-7-to-vaadin-8/</guid><description>&lt;figure&gt;&lt;img src="https://iniy.org/wp-content/uploads/2017/02/Chrisrmas_postcard_1907.jpg"&#10;&#9;&#9;&#9;alt="Hohoho, Vaadin 8 is out!"&gt;&lt;figcaption&gt;&#10;&#9;&#9;&#9;&lt;p&gt;Hohoho, Vaadin 8 is out!&lt;/p&gt;&#10;&#9;&#9;&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;Last night I couldn&amp;rsquo;t sleep and having read the release announcement of Vaadin 8 on the Vaadin Blog ( &lt;a href="https://vaadin.com/blog/-/blogs/vaadin-framework-8-is-out" rel="noopener"&gt;https://vaadin.com/blog/-/blogs/vaadin-framework-8-is-out&lt;/a&gt; ) I was curious to give the new version a try.&lt;/p&gt;</description></item><item><title>Glassfish Directory Deployment (explode Ear)</title><link>https://iniy.org/2012/07/glassfish-directory-deployment-explode-ear/</link><pubDate>Wed, 04 Jul 2012 14:12:27 +0000</pubDate><guid>https://iniy.org/2012/07/glassfish-directory-deployment-explode-ear/</guid><description>&lt;p&gt;Recently I was struggeling with glassfish directory deployment. Actually it is quite easy:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;unzip the ear-File (eg. example.ear) to a directory without .ear&lt;/li&gt;&#10;&lt;li&gt;then go into this directory and unzip all war and jar files to directories named _jar and _war (only on this directory level, don&amp;rsquo;t touch the files in /lib)&lt;/li&gt;&#10;&lt;li&gt;now copy the folder into your domains-autodeploy-folder&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;For more convenience, use this script. I think it is selfexplaining.&lt;/p&gt;</description></item><item><title>Glassfish 3.1.1 increase asadmin deployment timeout</title><link>https://iniy.org/2012/03/glassfish-3-1-1-increase-asadmin-deployment-timeout/</link><pubDate>Thu, 01 Mar 2012 16:48:18 +0000</pubDate><guid>https://iniy.org/2012/03/glassfish-3-1-1-increase-asadmin-deployment-timeout/</guid><description>&lt;p&gt;Recently I was wondering why the deployment of a EAR-File on Glassfish 3.1.1 over the Web-Administration-Console or with asadmin took very very long in compare to local deployment with eclipse. The EAR-File is about 50 MB of size and contains a complex web-application. With eclipse deployment takes about 20 seconds. With administration-console or with asadmin the deployment takes more than 10 minutes. As the default deployment timeout value of asadmin is 600 seconds i even wasn&amp;rsquo;t able to deploy it at all.&lt;/p&gt;</description></item><item><title>Generating MS Project Plans with MPXJ</title><link>https://iniy.org/2011/11/generating-ms-project-plans-with-mpxj/</link><pubDate>Sun, 27 Nov 2011 22:44:01 +0000</pubDate><guid>https://iniy.org/2011/11/generating-ms-project-plans-with-mpxj/</guid><description>&lt;p&gt;Lately needed to create a project plan for a company who was doing some migrations. In this migrations a lot of different systems (about 200) and ressources (about 200 people) where involved. There were about 30 tasks which all had a different duration and different people involved depending on the system for which they were performed. First we thought about doing it the hard way: preparing a template for one system, copy&amp;amp;pasting it 200 times, then adjusting the values as needed. But due to frequent changes in the plan soon this turned out as unmanageable work effort.&lt;br&gt;&#10;So I was looking for some solution to automatically generate the plan.&lt;/p&gt;</description></item><item><title>nice hibernate annotation tutorial</title><link>https://iniy.org/2011/03/nice-hibernate-annotation-tutorial/</link><pubDate>Sun, 27 Mar 2011 20:26:13 +0000</pubDate><guid>https://iniy.org/2011/03/nice-hibernate-annotation-tutorial/</guid><description>&lt;p&gt;playing around with spring and hibernate I found this very good and practical tutorial which explained to me how to model many-to-many and one-to-many relationships with hibernate using annotations.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.vaannila.com/hibernate/hibernate-tutorial/hibernate-tutorial.html" rel="noopener"&gt;http://www.vaannila.com/hibernate/hibernate-tutorial/hibernate-tutorial.html&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;By the way. If you need a good starting point for exploring spring with hibernate and maven as build system check this page out. For my tests I slightly modified the example and added the maven exec plugin to actually run the project without having to worry about the dependency libraries. (i will add this part of the pom.xml some day to this post)&lt;/p&gt;</description></item><item><title>Installing Glassfish 3.1 on headless Centos 5.5</title><link>https://iniy.org/2011/03/installing-glassfish-3-1-on-headless-centos-5-5/</link><pubDate>Thu, 10 Mar 2011 09:01:09 +0000</pubDate><guid>https://iniy.org/2011/03/installing-glassfish-3-1-on-headless-centos-5-5/</guid><description>&lt;p&gt;i run into some problems installing glassfish on a centos server without X-Windows. You can use the glassfish installer, but actually just unzipping the glassfish-zip is the easier method.&lt;/p&gt;&#10;&lt;h2 id="method-1-installing-just-with-a-zip-file-easy-method"&gt;Method 1: Installing just with a zip file (easy method)&lt;a class="anchor" href="#method-1-installing-just-with-a-zip-file-easy-method" aria-label="Link to this section"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;1. you have to get a java sdk and install (i used the rpm provided by oracle)&lt;br&gt;&#10;2. get the glassfish zip-file install package &lt;a href="http://glassfish.java.net/downloads/3.1.2-final.html" title="http://glassfish.java.net/downloads/3.1.2-final.html" rel="noopener"&gt;&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>