Posts
Posts mit dem Label "Database" werden angezeigt.
Spring Framework on OpenShift: persistence.xml and EntityManager Configuration on Wildfly 10 and MySQL
- Link abrufen
- X
- Andere Apps
Running an Web Application with Spring Framework 4.2.x with Spring-Data-JPA and MySQL on OpenShift the RedHat Cloud is good with Wildfly10. But how to configure the MySQL Database for Spring-Data-JPA? Spring-Data-JPA with Wildfly10 and MySQL on Openshift First Step: edit persistence.xml. Here is an Example: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> <persistence-unit name="mySimpleWorkListPU" transaction-type="JTA"><jta-data-source>java:jboss/datasources/MySQLDS</jta-data-source> <class>org.woehlke.simpleworklist.entities.ActionItem</class> <class>org.woehlke.simpleworklist.entities.Category...
MySQL DataSource for Wildfly10 like Openshift
- Link abrufen
- X
- Andere Apps
how to configure Wildfly10 to have a DataSource for MySQL like Openshift the RedHat Cloud. I installed Wildfly10 on ~/srv/wildfly-10.0.0.Final Step 1: Add MySQL Driver to modules: Download the mysql-driver mysql-connector-java-5.1.38.jar from any Maven Repository e.g.: http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.38/ go to WildFly modules Directory: cd wildfly-10.0.0.Final/modules/system/layers/base mkdir -p mysql/mysql-connector-java/main copy mysql-driver mysql-connector-java-5.1.38.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.38.jar"/> <!-- Insert resources here --> ...
MySQL as Default Database in WildFly 8.0.0.CR1
- Link abrufen
- X
- Andere Apps
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> ...
Database Scalability Needed for Full-Blown Cloud Applications
- Link abrufen
- X
- Andere Apps
@CloudExpo : Interview Database Scalability Needed for Full-Blown Cloud Applications An exclusive Q&A with Cory Isaacson, CEO of CodeFutures Corporation "We have seen excellent strength in social networking and gaming apps, the growth has been phenomenal," observed Cory Isaacson, CEO of CodeFutures Corporation, in this exclusive Q&A with Cloud Expo Conference Chair Jeremy Geelan. "Most consumers have no idea they are ‘playing in the cloud,'" Isaacson continued, "but that is where a majority of these apps are hosted - and very successfully so." http://cloudcomputing.sys-con.com/node/2023178