db4o viewer - Java / Linux - db4o

I need a db4o viewer for a Linux box running Java. I noticed this post was for a .net client, but I don't have Windows and don't intend to.
Is there something I can use? I checked out some projects, but they look like they haven't released any files yet so I haven't found anything that will work yet.
Walter

You can use Object Manager Enterprise (or OME for short). AFAIK it is bundled with db4o java packages.

Maybe you can use object manager that bundled with db4o distribution. Or, you can use eclipse ide plugin search Object manager. Its also called OME.
I usually use eclipse ide to see the data, and there are query tool too.
HTH

Related

Unable to utilize Entity Framework after deployment

i m using publish option for my project using Entity framework.
the 'bin' of the published folder does contain the dll of project that has Entity framework but the features of my application (using EF) stop working when they Get / Insert Data using Entity Framework .
the error is as follows in my application's File log:
02/01/2015 10:25:36 AM|TraceError |Exception is :The specified store provider cannot be found in the configuration, or is not valid.| |<EOL>
Am i missing any thing? ... Please help.
This might be happening due to system architecture of processors (32 bit and 64 bit versions of dll).
Try the following steps.
Open Inetmgr (IIS).
Go to application pools.
Open advance properties of the application pool on which your application is running.
Set Enable 32 bit Applications (in general category) to True.
I think this will solve your issue.
If you are using an Oracle database, I assume you must have installed the ODP.NET components. Unless you are using a third party provider such as Devart, which offers direct access to Oracle with its DirectConnect feature, there has to be a middle layer that the developer installs which would translate EF to Oracle. (Even if you used a third party provider, then you must have installed that third party provider on your development environment). Long story short, your VM does not have the provider that your developer PC has. You need to find out if you are using ODP.NET or a third party provider on your development PC, (which, I guarantee you, does not come with any Visual Studio or framework installation, somebody has to install it separately), then install it on your VM

Any reason to run Grails on linux vs. windows?

I know that developing with Ruby on Rails in Windows is not always easy, and I read lots of complaints that it just isn't fully compatible with Windows.
Is grails the same? Does it matter whether I dev on Windows/Linux/OSX?
Thanks!
Use the OS that you prefer. I've been developing Grails apps on Windows at work (because I have to) for a few years. Outside of work I use Linux exclusively.
Where I am, people use Linux and Windows to develop in Grails. There has been no problem regarding OS specific stuff.
In fact you should be more concerned about the Java flavor and version you have (some linux distros have an open source implementation), and, of course, the Grails version.
My advices:
Pick any OS you want (I even use both on the same Grails project with no problems)
Try to use the Oracle JDK (for me openJDK is a bit slower)
Pick a Grails version and stick to it as much as you can (preferably don't change the version it can be painful to upgrade a project)
I developed Grails apps on Windows and Linux. IMHO, use the OS you'll be the most productive with and has the toolset you want. Linux is definitively more friendly to programmers in terms of available tools in general. Windows developer community is coming up with interesting project such as Chocolatey and Console2 among other things. I personally prefer Linux because it offers me a lot more to learn besides just learning Grails for example.

Rad Studio Delphi XE and PostgreSQL

I'm starting a new project, and this must be done in Delphi, so we get Rad Studio XE (not XE2). I have never wrote code in Delphi, I'm a C#.NET-MSSQL experienced programmer, that's why this project is exciting.
For DB, we cannot afford MSSQL, but the Express Edition is not leaved. So, we choose PostgreSQL, we have very excellent references about it. And I found it quite interesting.
But here comes the problem, the provider for the connection. I began research for this problem, and I found many options, there are some products with commercial license (AnyDac, and others). But we can't afford them. Then I found Zeoslib. Maybe it is what we're looking for, however, I can't find it and install it for XE. In the sourceforge portal, the latest version (it's an alpha), only works until Delphi14 (XE is Delphi15).
I've read too, that it requires to be compiled for the install (I need a step by step for dummies manual :D). But, this makes me doubt. How it will be deployed on the client. Is it a dll?
The project is a desktop application which connects to a server (DBMS), using CRUD statements, maybe some sprocs, ans that's all. Of course there will be more than 1 client. Just reading, updating deleting, etc..., but not at the same time, so traffic, concurrency is not a big problem.
In NET, I use the sqlclient namespace create connections, commands and that's all. I've found in Delphi the TSQL, TADO, and other objects like that. So it will be not hard at all.
So we're planning to use MSSQL Express instead.
But before that:
Is there another option to connect my RAD XE app with Postgres?
If someone knows how to enable zeoslib, can u tell me?
How is zeoslib distributed with my app in many PC's?
or
Is MSSQL Express a good choice for this project? (It's not big after all)
After reading, MySQL uses zeoslib too, and of course, the commercial providers. That's why we discarded it, among other reasons.
A component library, like ZeosLib or AnyDAC, requires to compile it into binary packages (BPL) to install into RAD Studio IDE. A libray itself may be either statically linked into EXE (nothing from library to deploy), or EXE may be built with run-time packages (you need to deploy library run-time packages). Additionally you will need to deploy libpq.dll - PostgreSQL client software.
If you know SQL Server, then use SQL Server Express edition. And probably stay with dbGo (ADO) components. PostgreSQL is quite different from SQL Server in many aspects, so you will need to spend the time to learn PostgreSQL. Which will be far more expensive than commercial libraries.
Zeos trunk works fine with Delphi XE. Don't let the "trunk" bit scare you. The mutation count is not that high.

Solution for web designer using an OSX to develop an ASP.NET MVC project?

The project is developed using ASP.NET MVC framework and heavily relies on .NET 3.5.
What would be the best solution to allow a web designer, who is using OSX, to develop the site's UI? Basically he would just need to edit the aspx, css and js files, but also run the web application locally.
I've thought of some possibilites:
Install parallels/vmware/bootcamp and set up everything as you would for windows. Bad: it would be slow, OSX user doesn't like working in windows
Set up Mono and run the webapp on that. Use whatever tool you want for editing the front end files. Bad: does mono support MVC framework, .NET 3.5 and database connections? Unfamiliar platform, so possibly a lot of work setting it up, if it even will work.
Run the site on a separate server, and edit the front end files via network drive. Bad: our development server is so slow that seeing the changes takes too long...
Do you have other ideas or comments for these options?
Thanks!
You could try using a virtual machine. VirtualBox is a free one and is quite simple to setup. The only downside is that you need your own copy of Windows...
What you really need to do is have your web designer mock up the pages in static HTML, CSS, and JavaScript first (in their environment of preference.) Once that's done, adapting the markup to the ASP.NET project should be easily doable by yourself or the designer on a Windows machine (or virtual machine, your preference).
The MVC framework is part of Mono. Ares Technica has an article about the MVC framework and running it on Mono.
While it seems that some people were able to hack the framework to work on Mono back in March and April of this year, Microsoft has since released the MVCframework as open source and it is now fully supported by Mono as of the 2.4.2 release.
Here is a link to the most recent Mono releases along with Virtual Machine images that already been pre-configured to give you the best development experience.
Good luck with your project and hope this helps some.

What is the best way to embed Firebird Installation in the Installer for my app?

My app has its own installer but I have to guide my users to install Firebird on their own.
I'd like to install it automatically.
Thanks.
You can download Firebird source code. It contains InnoSetup script that actually installs firebird on windows targets. You can then modify it to suit your needs.
As a side advice, maybe you should consider Inno Setup yourself.
InterBase and hence Firebird provide an API you can use in your installer script to automate installation.
See documentation for this API in the document "InterBase 5.5 Embedded Installation Guide" http://dn.codegear.com/article/26386
The InterBase Express (IBX) components provide a Delphi binding for the installation API. This is documented in the InterBase 6.0 "Developer's Guide".
#mghie and #TOndrej have made comments about my mistake. I was the Product Manager for InterBase once upon a time, when InterBase did provide an installation API. But this answer is outdated, by literally ten years now.
Here's another resource which is more up to date:
Unofficial Firebird Installation page
This has step-by-step instructions for creating your own Inno Setup installer for Firebird, to accompany your own application installer. No doubt you could use a different installer technology for your application, and simply call the Inno Setup installer as an external program from your installer. But it would probably be more seamless if you also use the Inno Setup for your own product.
If you don't need standalone Firebird server, you could also just include required files in your setup and use Firebird as a embedded SQL server.
See http://www.firebirdsql.org/manual/ufb-cs-embedded.html
Create a bootstrapper, for your product and the prerequisites that your product needs.
Other products might be a good model to follow. For example, Pidgin relies on a specific version of GTK and guides you through running the GTK installer. Being open source, one option would be to look through the source for their NSIS installer package to see how they're doing it.

Resources