java

NetBeans IDE 6.1 and Java 1.6 on MacOS

Some crucial bugs had been fixed since previous release. However, there are still some contradictions developing java apps based on release 1.6 – Class-Version Error, messaging missing libraries falsely, to name a few. Additionally, in certain issues compiling sources are done on v1.5 contrary to v1.6.

RSS feeds

I have searched for titles of articles from BBC, Google news, Yahoo News (trustable source) for negative data. for the positive data I have searched on Google for one liner, jokes, one liner database and for each site I have created a crawler because most of them there are unstructured sites. I have verified the sources not to contains the same sentences

and after that I have chosen randomly 100 negative and 100 positive data to see how good is my created data base.

Taggings:

Slow MySQL execution over Network under Java

If an application and the connected database is developed and tested on one single machine, code optimization and design of queries may suffer due to instant access time and nearly no transfer time between database and application. However, if you put the Application and Database on different machines such design flaws can lead to horrible processing times. There are several fields that may cause problems in that case. One problem is transferring of many records from or to database. Another problem is execution of hundreds of single independent SQL statements in a very short time, where the application always has to wait for response of database.

Creating a new Seam Web Project using Eclipse

<p>First of all, I would like to give you a short information about JBoss Seam. JBoss Seam is a powerful new application framework for building next generation Web 2.0 applications by unifying and integrating technologies such as Asynchronous JavaScript and XML (AJAX), Java Server Faces (JSF), Enterprise Java Beans (EJB3), Java Portlets and Business Process Management (BPM). Seam has been designed from the ground up to eliminate complexity at the architecture and the API level. It enables developers to assemble complex web applications with simple annotated Plain Old Java Objects (POJOs), componentized UI widgets and very little XML. The simplicity of Seam will enable easy integration with the JBoss Enterprise Service Bus (ESB) and Java Business Integration (JBI) in the future.</p>

Installing JBoss Tools on Eclipse

<p>My aim is to figure out how should JBoss Tools be installed on Eclipse IDE. I guess probably most of you know already Eclipse IDE and possibly heard about JBoss Tools. As we are going to develop some Rich Internet Application, I need your advice for my statement.</p>

Searching Entities with Hibernate Entity Manager

Hibernate is used to easily handle database operations in Java applications. It makes mapping between Java objects and the database a lot easier. It is also possible to use the persistence API (JPA) to store entities in databases. However, if you search for entities, that you want to use in your application, the path to those entities should not contain a whitespace. Otherwise you’ll get a “File not Found” – exception (this is not correct).

How to setup a Canoo Webtest Environment

I am working as part time softwaretester in a software development company. In the last months the main part of my work was testing the same testcases over and over again. All startet with a few testcases for a relatively small frontend. But as time goes by, the software developed and the functionality grew...and so grew the frontend of the application and the complexety of the testcases. At the beginning i only had about 30 testcases which covered the overall functionality of the application. Now i have to test about 100 testcases in the same time. So some solution had to be found. The great thing of the application i have to test is, that most of the navigation and layout stays the same, even when new functionality is implemented. That makes an automatic regression very easy. My goal was now to find a free, easy to understand, easy to install and easy to use test tool which fits my requirements. I chose "Canoo Webtests". It's an XML based test tool, which is really great. It produces very good testreports, it generates screenshots during the automated testing and it is relatively easy to install. Because its XML based the testcases are very easy to implement, and persons who are not so familiar with programming can understand and implement the testcases very easy.

Correctly configuring a Jetty Java Servlet container to be used through an Apache Web server via mod_jk

When deploying a JVM-based Web app usually so-called Java Servlet containers resp. application servers are used for the produciton system/environment. Probably the most popular and common Java server in this field is Apache Tomcat (and other even more feature-rich ones like JBoss or GlassFish). Apart from that, there's also Jetty which can be seen as a somewhat lightweight alternative. Nevertheless, there are some subtle differences to be taken into consideration when configuring it as opposed to Tomcat. The usual way to setup such a production system for a Java Web app is to use the Servlet container to serve the Web app and put so to speak in front of it an Apache Web server which handles the requests, hands them over to the container instance (e.g., Jetty or Tomcat) and receives its responses then (to say it in an a bit simplified way). Usually this is done via Apache's mod_jk module which enables communication between app server and Web server through the AJP13 protocol. What should be described and explained now is how to setup such a Java Web app production system ready for deployment in detail (mainly from a configuration perspective). The main focus shall be put at differences which are to be taken into account here between Jetty and Apache Tomcat.

Pages

Subscribe to java