Window Application - c#-3.0

how to create connection using class file in C# for windows application?... how to develop Data access layer... regarding 3-tire architecture using mysql databases

Related

Does my UML Deployment Diagram look correct?

I modelled a Deployment Diagram to describe the following situation:
PC: User calls website on a webserver unsing his Browser
Intern Server: a Server that contains the IIS Web Server, the websites that are dynamically created using the Django Framework, a MySQL database where the data that is displayed in the website is stored and two scripts that interact with the Database und a website of another server.
Extern Server: unknown architecture, but contains the .html files that are being requested by the scripts on the intern server.
I am using the demo version of Visual Paradigm, sorry for the watermarks.

Connect Oracle MAF app to server database

I am using eclipse to develop an oracle MAF application. I set up the environment but i need now to connect my app to the oracle database on the server and i don't know how to start. Do i have to use the local sqlite database then sync with the server or connect directly to the server and how to do it?
thank you!
It's not possible to make a direct database connection MAF. You will have to expose your data in a web service and consume it in your mobile app.
One option you can consider is to expose the data in the database as a REST Service which you can invoke from a MAF application.
See this presentation on how to use OEPE to build a MAF application that invokes REST services: https://www.youtube.com/watch?v=pRdLSOVslQg
Hope this helps. Thanks for your interest in OEPE.
-Raghu
Here is the simple tutorial which describes that how can you make a REST web service in Oracle MAF, deploy it to web logic server using Jdeveloper and access it from your browser. I hope it'll help you:
http://sanjeev-technology.blogspot.in/2014/09/rest-service-on-weblogic-1034.html
Pervasync just released a new version (6.0.2) of its sync framework that supports synchronization of Oracle MAF SQLite databases with central Oracle, MySQL, SQL Server and PostgreSQL databases.
You can try this sample tutorial which having the step by step explanation.
To make it work, you need to use JDeveloper 12c (download it from here). It will contain WebLogic server as well.
In additional you need to have Android SDK for emulator (or) you can make use of Android device to deploy and run the application.
For Android Device:
You can deploy the application into machine and configure the mobile client app using virtual IP of that machine. So that it can be accessed from outside of the network.
For Emulator:
you can run the webservice and client in same machine by configuring the webservice IP as 127.0.0.1 this will route your client app into local machine (P.S: localhost does't works here)

Unity 3D application cannot access SQL server database when built as web player?

When I build as a standalone executable my application works fine with database SQL server, but does not work when built as a web player. What can I do?.
You won't be able to connect to a database using the web player as it is inside a security sandbox.
Restrictions on accessing data on a domain other than the one hosting your .unity3d file.
Some limitation on the usage of the Sockets.
You can read more about it here: http://docs.unity3d.com/Manual/SecuritySandbox.html

View TouchDB mobile database in desktop

I launch TouchDB database from my iOS application. It works as http server via TouchDB framework class - TDListener and it provide REST API for external access.
How can I view database from my desktop?
Are there some frontend applications which can be adopted for viewing my mobile database?
I've considered couchdb-futon but I don't know how tune it for my issue.
There are a few options mentioned here:
https://github.com/couchbaselabs/TouchDB-iOS/wiki/Tools-for-TouchDB
Your best best is probably TouchDB Viewer:
"TouchDB Viewer — "Official" GUI app for viewing TouchDB databases. Runs on Mac OS. Can view local database files (including ones in the iOS Simulator) or remote ones given their URL (useful if you enable the listener in your iOS app.)"
-- https://github.com/couchbaselabs/TouchDBViewer
I'm sure you could get futon talking to TouchDB, but it'd probably involve delving into the futon codebase.
EDIT:
TouchDB is the legacy 1.0 version of the project now named Couchbase Lite. So, the "TouchDB Viewer" has been converted to support Couchbase Lite databases (which has '.cblite' extension) and also it has been renamed to "CouchbaseLiteViewer - Mac app for viewing/modifying Couchbase Lite databases".

Create SQLite after deploying wavemaker project to phonegap

I created project inside wavemaker and deployed it to eclipse using phonegap.
I need to create SQLite database so I can storage data while there is no network connection on device,so I can sync it after with server database.
I'm unable to create SQLite db inside wavemaker due to communication problem with hibernate (dialect).
My question is am I able and how, to create SQLite db after I deploy project to eclipse?
I have found many topics on this but non of the solutions help.
Why you not use hipersonic db? it's similar to sqlite and it's java native (it's also come bundled with wavemaker, you can choose to store the data in memory or a file)
http://hsqldb.org/
http://dev.wavemaker.com/wiki/bin/Dev/HSQLDB