This post shows an example how to put a message with the IBM Websphere Message Broker Client and WebSphere MQ classes for JMS into a IBM MQ.
This post shows an example how to put a message with the IBM Websphere Message Broker Client and WebSphere MQ classes for JMS into a IBM MQ.
The H2 database allows to excecute SQL statement(s) within the connection. This comes handy if you are using the H2 database to test your Java persistence queries.
http://permissions-calculator.org/ is a nice web application, to calculate octal permissions for chmod.
This post demonstrates how to create a datasource for the H2 database in JBoss. This recipe can easily applied to any other database like Oracle DB, MySQL and PostgreSQL.
We in Switzerland have the TimeZone Europe/Zurich
. If you are using Java to connect to an Oracle DB, and the DB responds with an exception ORA-01882: timezone region not found
it is most likely, that the connection problem is located on the linux host, in that the Java application runs. In my case it was rhel.
In cryptanalysis and computer security, a dictionary attack is a technique for defeating a cipher or authentication mechanism by trying to determine its decryption key or pass-phrase by trying hundreds or sometimes millions of likely possibilities, such as words in a dictionary.
TDD and BDD is a crucial discipline to write good and robust applications. Testing within the Java EE may cover several test depths. This post is only a short overview of possible involved products.
One of the methods from Rapid Software Testing with James Bach, is to use self describing test data like counter strings. The string for the count 10 will give you exactly the character position. This is useful for boundary testing and and testing large input strings. Counter strings are helpful testing sizes of UI text and database fields.
JUnit 4 has introduced a new feature: Parameterized tests. Parameterized tests allow developer to run the same test over and over again using different values. There are five steps, to create parameterized tests.