Are there any JOLAP or Olap4j driver available? - java

Are there any driver available for JOLAP or Olap4j to access existing OLAP services? I think on OLAP services like Oracle, MS SQL, etc.
We want start a OLAP project with Java? With which of the both API should we start?

olap4j is the perfect Java API for this type of project. It is designed to do for OLAP what JDBC does for relational databases. It allows you to write an application against a server-neutral API, and then run that application against various servers without code changes. Also, the API is easy to learn because it uses the same concepts as JDBC.
Using the XMLA olap4j driver (included with the olap4j distro) you can connect to any OLAP database which has an XMLA driver -- and most of them do. It has been tested against Microsoft SQL Server Analysis Services, SAP BW, and Mondrian, and others. It should work against Oracle's XMLA provider [ http://www.oracle.com/us/corporate/press/173668 ] but I have not tried it.
See www.olap4j.org for more information.
Julian Hyde
(olap4j project founder)

There's an xmla client library by icCube: http://www.iccube.com/products/contributions/xmla-client-library, though I haven't tried it myself.

Related

Can I use Neo4j BI Connector with my Java app?

Neo4j have recently added a BI connector tool (neo4j.com/bi-connector) which can return relational data from your graph database to your business intelligence tool such as Tableau. The question is can i send SQL queries to this connector assuming i have added the jar file to my java application class path? If yes, which APIs should i use to send this SQL query to the driver?
I'm using Neo4j4.0.
For neo4j.com/bi-connector, if you look at the document PDF that you get when you download it, on page 10 where they show how to establish a connection you'll see that you get a connection object. After you have that, you have a standard JDBC connection which is a Java interface that tells libraries how to talk to a SQL database. There are a lot of different tools that use this interface, it's kind of user preference. A common one is JOOQ.

Connection to oracle databases without odbc and jdbc

I want to connect to oracle 10g databases in java without help from odbc and jdbc drivers. Is there any way to do that??? Thanks in advance
No. That's exactly what the JDBC drivers are for. To connect to the database.
Strictly speaking you could write your own driver (and call it something else), but that would be an immense amount of work, just because you refuse to do things the correct way.
Yes, it is possible. Oracle can act as a web service provider.
In the 10g version, you can only publish REST XML/JSON services; in 11g, support for SOAP web services was added.
Please note that the services provided by Oracle need to be implemented in PL/SQL; essentially you would be writing stored procedures that wrap the SQL queries you normally send over JDBC. Compared to JDBC, the web service / REST API is a very different tool as it works on a higher level of abstraction. You should only use it when required (e.g. if you don't want to mix SQL with your Java code), not because of false beliefs about security issues with JDBC drivers.
See this Oracle-Base article for more information.

any example or tutorial for how to connect to MS SQL Server in a GWT project

I'm having hard time to find out how to read and write from /into MS SQL server 2008 using GWT .
does any body know of any step by step guide or sample that can help me ?
thanks
you indicate you're a .Net developer.
In your shoes, I'd follow this strategy:
just use GWT for the client-side
use .Net for the server-side
connect client-side to server-side via REST, this will de-couple the two and provide a wider choice for future upgrade/enhancement
develop a REST backend via your favourite .Net server side ASP engine (VB/C#) It's this backend that will connect to MS-SQL, plus it may contain some business processes. You could even do this with Classic ASP - as I've had to ;-)
So: MS-SQL is your data layer, GWT is your UI layer, ASP is your business layer.
Here's a StackOverflow question covering it Are there any good tools for integrating GWT with ASP.Net? Ignore the first answer - it's complete horse-sh*t. The second answer (GWT/ASP.Net) gives a good strategy. Use Javascript Overlay types to read in the json returned from your backend and make it appear as GWT objects.
First you have to uses Microsofts JDBC connector instead of MySQL connector
connect with ms sql
Database Access in GWT – The Missing Tutorial

Java Database with PHP support

I'm looking for a java database server that has support for database to be shared and opened from a PHP web application and a java application simultaneuosly.
I found Apache Derby and H2 Database but they don't have a clear support for PHP application.
Please suggest.
It must be a Java Database Server, since we are planning that we may have to distribute the applications to customers, so we need something portable and redistributable.
Most popular databases have drivers for PHP and for Java.
They also support concurrent connections. Choosing something like SQL Server, Oracle, MySql, Postgres will work just fine.
MySQL might work fine for you. I've used it myself in projects where I both need to access it from java and PHP.

special driver to connect to sql server 2008 express

I'm a java newbie, want to test out some hibernate goodies!
I have netbeans installed, and I included the Hibernate libraries.
I then created a new package named Model.
I will drop my Class and xml config files in there.
Do I need a special library to connect to sql server? (windows machine)
Yes, you'll need a JDBC library that talks to Microsoft SQL Server. jTDS used to be my first choice but the Microsoft JDBC driver has come a long way and I'd recommend using that. You can download it from this site.
You'll also need to follow these instructions to get the two talking to each other as SQL Server express doesn't listen to TCP by default and uses Windows Authentication Mode.
Have a look at these two URLs for examples of your hibernate.cfg: An explanatory Blog Entry and a JavaRanch Question.

Categories

Resources