In a previous post (B4J Connection to Database Example…) I demonstrated through a very simple application how to connect within a B4J application to a SAP SQL Anywhere Database. It’s not always easy to find how we can connect to a database. This is because, when connecting to a database using JDBC, we have to know which driver we will use and also the required JDBC URL to communicate with the database server. This information isn’t always easy to find, as they are different versions of clients, and each database client may have different driver & settings!
As mentioned in the title, this time I will give an example of a connection to a SAP ASE Database. Currently, I will be testing the connectivity to versions 15.7 and 16.0 of the product. As with any database, the first thing we need to check is that the JDBC driver option of the client was checked and installed during client’s installation (this can be done through control panel add/remove programs option). The second is to copy two files to out Additional Libraries folder (this path is declared in B4J IDE as shown in the following screenshot).
The files needed to be place there are:
Aegina is a small island located near Athens (Piraeus port). It is know as a resort for people living in Athens area, but not only. It combines beautiful scenery’s, and has lot of traditional buildings in the port. Also, for those who like to visit ancient temples, there is one in Aegina, in little mountain at an altitude of 160 meters, with a great view to the side of the island. Follows some photos from the port:
Some years ago I had the oppotrtunity to visit Munich. Here are some photos from Marienplatz, a central square in the centre of Munich.
A very small and nice beach near Tolo. It’s a holiday “resort” near Nafplio at Peloponnese, in Greece. I don’t enjoy beaches with to much people… I prefer quite places, where you can enjoy the beauty, hear the songs, feel the air…
One thing I like is the sunset… When last sun rays play with the sea waves, while filling the sky with unique colors. Those photos were taken some years ago in a village near Patras (the most important port of Peloponnese).
Hope you like.
Most cities are beautiful in holidays. Because those days most people want to relax and spend their time without stress. Those days I like to take photos of the city I live in. To “capture” a different city. A city were people can really enjoy living in.
Aspropyrgos is a an Athens suburb. It’s near the sea, and it’s an industrial zone with big industries and many logistic companies operating on that region. But even in an industrial zone, there are some opportunities to take nice photos.
Those photos were taken in a village near Geneva, at the foot of the alps.
Photos of a colorful sunset in Dafni (Athens). No filters… Those are without any processing.