UCanAccess, an open source JDBC driver for Microsoft Access (both .mdb and .accdb files)

June 28th, 2016 No comments

This is the location for the very versatile UCanAccess open source JDBC driver for Microsoft Access.

Its implementation, using a native implementation via the Jackcess data layer makes it the ideal method of both .mdb and .accdb files, even on operating systems such as Linux or OS X.

http://ucanaccess.sourceforge.net/site.html >

Additional references

The Jackcess library, the basis for the UCanAccess JDBC driver

 

Location of the Jericho Java HTML parser

June 19th, 2016 No comments

The Jericho Java HTML parser is a self-contained Java .jar library I have used to parse HTML code.

The project is hosted at SourceForge in this location

https://sourceforge.net/projects/jerichohtml/

The green ‘Download’ button at SourceForge allows to download a file with a name like: jericho-htm<version number>.zip that is compatible on either Windows or Linux platforms.

Once extracted, the binary .jar can be found at the ‘dist’ subfolder

Obtain day of the week in Java

April 29th, 2015 No comments

Obtaining the day of the week as an integer is achieved by using the java.util.Calendar library

import java.util.Calendar;

...
Calendar calendar = Calendar.getInstance();
int day = calendar.get(Calendar.DAY_OF_WEEK);
if (day==Calendar.WEDNESDAY)
{
System.out.println ("Today is Wednesday");
}
..

Simplest web server application (SOAP) using Java SE

April 28th, 2015 No comments

I found the simplest way to produce a web server application in Java Standard Edition. The tutorial comes via Oracle at:

http://www.oracle.com/technetwork/articles/javase/jax-ws-2-141894.html

Categories: core libraries Tags:

RSS blogs at Irish Examiner fail w3c validation due to html code in titles

April 23rd, 2015 No comments

The Irish Examiner’s feeds are failing w3c validation due to HTML code within titles. 

This results in RSS feed readers displaying difficult to read text sometimes.

This is a sample Feed Url:

http://feeds.examiner.ie/iebusiness 

These feeds are handled through FeedBurner. Interestingly, other characters that would normally require HTML encoding, such as the euro sign, are displaying fine.

Categories: Uncategorized Tags:

Technologies and related skills for a junior Java developer in Latin America

March 10th, 2015 No comments

I decided to use this listing from a jobs board (In Spanish) in Latin America to use as an example of various soft skills and technologies on demand in the area these days.

  • Creating documentation about technical requirements, design and scope of a project.
  • Experience in IDE development environments
  • Knowledge of Java frameworks (Hibernate, Spring, Struts, Springweb, JSF, JSP, Stripes)
  • Knowledge of HTML, CSS and JavaScript
  • Knowlege in database development such as Oracle PL/SQL  programming (Stored procedures, triggers, Packages, etc.).
  • Ability to work on an inter-disciplinary team
  • Ability to talk to experts in other fields
  • Ability to generate new ideas (creativity)

All in all, this is an excellent starting set to try to expand and provide good reference for anyone designing learning plans.

Categories: career Tags:

Prevent adding duplicate String objects to an ArrayList: the HashSet

October 27th, 2014 No comments

If you need to keep a list of strings unique, instead of an ArrayList, you need to use a HashSet

import java.util.HashSet;
HashSet<String> nonRepeatable= new HashSet<String>();
nonRepeatable.add("blogopogo.com");
nonRepeatable.add("blogopogo.com");
nonRepeatable.add("expiredlive.com");

System.out.println(nonRepeatable);

The above results in:

[blogopogo.com,expiredlive.com]

One advantage of a HashSet is that there is no exception raised if you try to add an existing element.

If you don’t mind about duplicates, then you can still use the ArrayList as described here

Categories: core libraries Tags:

Arrays of strings in Java

October 22nd, 2014 No comments

An array of strings can be quickly defined in Java by importing the java.util.ArrayList library as follows:

import java.util.ArrayList;
final ArrayList<String> urllist=new ArrayList<String>();
urllist.add("my string");

If you need to prevent duplicates being added to your array, then you need to use a HashSet or a TreeSet instead

JDeveloper for developing AD

June 21st, 2013 No comments

 

 

Oracle web ADF developer portal in June 2013

Oracle web ADF developer portal in June 2013

The Oracle ADF or Application Development Framework is a set of development libraries that provide rapid development of Oracle applications.

JDeveloper is a developer IDE that has been produced by Oracle and it is an application to use in the development of Oracle ADF.

The starting point for Oracle ADF is this:

http://www.oracle.com/technetwork/developer-tools/adf/overview/index.html

JDeveloper can be downloaded from this place:

http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index.html

It is a 1.2 Gb executable file

Here’s a good presentation video showing an overview of the Application Developer Framework. In it  JDeveloper is seen as the main development tool.

http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adfoverview/adfoverview.htm