Posts

Es werden Posts vom 2014 angezeigt.

HTML5: Xeno 2D - Ein Rudel Schildkröten namens Archilles

Bild
Die HTML5-App zum selbst Erstellen: http://www.thomas-woehlke.de/html5-lab/xeno2d/index.html

WildFly 8 Final is released!

WildFly 8.0.0.Final is released: http://wildfly.org/news/2014/02/11/WildFly8-Final-Released/ http://jaxenter.de/artikel/WildFly-8-171109 I applied the Changes to Java EE 7 Petclinic here: http://thomas-woehlke.blogspot.de/2014/02/java-ee-7-petclinic.html

Java EE 7 Petclinic

Bild
A Java EE 7 Version of Spring Petclinic. Depending on JSF and EJB and ready to run on JBoss WildFly  and Oracle Glassfish . You find a running Version with WildFly on OpenShift , the RedHat Cloud: http://javaee7petclinic-port80guru.rhcloud.com Source Code ist hosted on Github: https://github.com/phasenraum2010/javaee7-petclinic The Domain Modell  contains all basic Relationships between Entities like OneToMany, ManyToOne and also ManyToMany: Pageflow  is complex enough to be interesting for Functional Tests with Selenium2 Webdriver, Arquillian Drone and Graphene: Use Cases Some Example Screen Shots install JBoss Wildfly install JBoss Wildfly 8.0.0.Final from http://wildfly.org/downloads/ to e.g. /Users/tw/srv/wildfly-8.0.0.Final/ start JBoss by: cd /Users/tw/srv/wildfly-8.0.0.Final/bin ; ./standalone.sh   install Glassfish 4 I installed Netbeans 7.4 with Glassfish 4.0 from https://netbeans.org/downloads/ sta

MySQL as Default Database in WildFly 8.0.0.CR1

How to  replac the H2 Database for Default DataSource in JBoss WildFly 8.0.0.CR1: Step 1: Add MySQL Driver to modules: Download the mysql-driver mysql-connector-java-5.1.22.jar from any Maven Repository e.g.: http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.22/ go to WildFly modules Directory: cd wildfly-8.0.0.CR1/modules/system/layers/base mkdir -p mysql/mysql-connector-java/main copy  mysql-driver mysql-connector-java-5.1.22.jar here. add a file module.xml with content: <?xml version="1.0" encoding="UTF-8"?> <module xmlns="urn:jboss:module:1.1"          name="mysql.mysql-connector-java">     <resources>         <resource-root path="mysql-connector-java-5.1.22.jar"/>         <!-- Insert resources here -->     </resources>     <dependencies>         <module name="javax.api"/>         <module name="javax.transaction.api"/>         <mo

start glassfish4 javadb running jdk1.7.0_51

Problem: Starting glassfish4 with javadb results in this Error: asadmin start-database Starting database in Network Server mode on host 0.0.0.0 and port 1527. Unable to start database.  Please check log in /Applications/NetBeans/glassfish-4.0/glassfish/databases/derby.log. Command start-database failed. Cause: According to Java™ SE Development Kit 7, Update 51 Release Notes Change in Default Socket Permissions The default socket permissions assigned to all code including untrusted code have been changed in this release. Previously, all code was able to bind any socket type to any port number greater than or equal to 1024. It is still possible to bind sockets to the ephemeral port range on each system. The exact range of ephemeral ports varies from one operating system to another, but it is typically in the high range (such as from 49152 to 65535). The new restriction is that binding sockets outside of the ephemeral range now requires an explicit permission in the