Recent technical book wishlists
TweetPosted on Friday Jan 02, 2015 at 10:45PM in Technology
I'd like to study more about these technologies: Java EE 7(JSF, JPA, CDI and more), HTML5, CSS3, and related ones.
Java EE:
- Mastering JavaServer Faces 2.2 (published on 2014, book review by dzone.com)
- Pro JSF and HTML5 Building Rich Internet Components (published on 2013, JSF 2.2 compilant)
- Pro JPA 2, Second Edition (published on 2013, JPA 2.1 compliant)
- JBoss Weld CDI for Java Platform (published on 2013, CDI 1.0 (Java EE 6) compliant? [2])
- WildFly 8 Administration Guide (published on 2014, "Updated to WildFly 8.2.0 ! The only WildFly book that is constantly updated.")
- Real World Java EE Patterns "Rethinking Best Practices, A book about rethinking patterns, best practices, idioms and Java EE 6." (table of contents)
- Professional Java EE Design Patterns (published on 2014)
- Java EE 7 Recipes (published on 2013)
- Java Performance (published on 2012) "useful things to know about the JVM from one of the developers. i.e. not just about performance. Published 2012."
- Learning Web Design, 4th Edition (published on 2012)
- Pro HTML5 Programming 2nd Edition (published on 2011)
- Maven: The Definitive Guide, 2nd Edition (will be published on May 2015 est)
- Maven Build Customization (published on 2014)
- Pro JavaFX 8 (published on 2014)
- Firebug 1.5: Editing, Debugging, and Monitoring Web Pages (published on 2010)
- Recommended Ebook reader for personal tech book library? : programming
- Programming and other professional books - paper or digital? - Ars Technica OpenForum
References:
Tags: book
jberetweb, JBeret job repository viewer
TweetPosted on Friday Jan 02, 2015 at 01:01AM in jberetweb
What are JBeret and jberetweb?
JBeret is the out-of-the-box JSR352 JBatch implementation of the WildFly application server. It manages its statuses of jobs and steps in several types of data storage, like RDBMS, which is called repository. But it has no management console or even a standardized way to see it efficiently (I've been watching the repository through SQL!). So, I have created jberetweb as a small web application which shows the JDBC job repository of JBeret.
jberetweb can be obtained at GitHub.
What can be done with jberetweb?
It shows recent job executions with their names, the start/end time and the batch status on the table in the upper half of the page. These rows are clickable. Additional information, like job parameters and step executions, will be shown when any row of the job executions table is clicked. Execution exception data will be shown if the step has failed because an exception occurred. Any problematic rows, such as a failed execution or step, are highlighted. Thanks to JSF's partial rendering and Ajax, paging and operations are fast.
How do I install it?
As I described at README.md in GitHub repository of it, you have to clone and build it with mvn yourself, and some configuration is needed for WildFly before deploying the WAR.
- Create a database on PostgreSQL (jberetweb should run on any other RDBMS, but I haven't tested yet)
- Register a XA data source for the job repository
- Register JNDI name of the JDBC job repository
- Set the job repository type as JDBC
- Define JSF project stage to JNDI
batch xa-data-source add \ --name=JBatchDS \ --driver-name=postgresql \ --jndi-name=java:jboss/jdbc/JBatchDS \ --user-name=postgres \ --password=*** /subsystem=datasources/xa-data-source="JBatchDS"/xa-datasource-properties=ServerName:add(value="localhost") /subsystem=datasources/xa-data-source="JBatchDS"/xa-datasource-properties=PortNumber:add(value="5432") /subsystem=datasources/xa-data-source="JBatchDS"/xa-datasource-properties=DatabaseName:add(value="jbatch") run-batch /subsystem=batch/job-repository=jdbc:write-attribute(name=jndi-name, value=java:jboss/jdbc/JBatchDS) /subsystem=batch:write-attribute(name=job-repository-type, value=jdbc) /subsystem=naming/binding=java\:\/env\/jsf\/ProjectStage:add(binding-type=simple,value=Development,class=java.lang.String)
NOTE:
- JBeret creates the schema automatically if any tables aren't found, so make sure the database user can execute DDLs.
- Use XA datasource for both the job repository and your application database.
Here's some related pointers:
- [WFLY-3174] Add view of batch jobs with ability to view, restart and stop - JBoss Issue Tracker
- JSR 352 - Viewing batch jobs in admin console | JBoss Developer
I would be grateful for your feedback because it's my first software which is public on GitHub.