I want to know whether we can integrate Opencart with other application built in Java / Mongo-DB.
To be precise, A back end system is developed using Java/ Mysql and Mongo DB. All products will be managed from this application(backend) and orders which are placed have to be pushed to this application from opencart(Frontend).
Can you guys help me to know possibility of how a communication between 2 systems, Opencart(Frontend) and Java application(Backend) can be achieved.
With some development experience and a plan of action this can be achieved. The steps are as follows:
Define what system you would like to connect to. For me this was a MSSQL Database.
Come up with a plan of how to connect the two items and what needs to be exchanged.
Once this plan has been setup, you can develop the integration to Opencart, this can be done by simply adding CSV files to exchange data ora direct connection between the databases. Remember to ensure you link the correct fields of your other system to the correct fields of Opencart.
If done by CSV there must be a way to upload the updated results to your other system.
For a java system I came across this system a while ago, not sure if it will help
Good luck with the integration, I have done an integration between a visual studio program in .net and opencart. So far so good
Related
I have created a simple database application as a part of my college assignment. I have used Java (Eclipse IDE) and MySQL (command-line and phpMyAdmin) for the purpose of creating and using the database on a stand-alone application. The thing is that my database is stored on the localhost.
An easy way to make my application usable on another person's computer would be to convert it into an Executable JAR (since, I am using Java). However is there any way by means of which I can also install the database directly to the other person's computer (on the localhost)?
Something like an installer or so?
I read online that a simple thing would be to manually install MySQL and create the database. But I don't know PHP and typing the MySQL commands / using phpMyAdmin would be the only choice. But is there any better way to go about doing it?
Thanks for any help.
EDIT1:
I don't know if this helps but I have no previous knowledge regarding creating installers for projects. All I have done until now has been exported either as an executable JAR or as source code. I am still studying.
EDIT 2: Creating an installation for a java project <- is a similar question but it does not help my cause. It recommends not using MySQL. Our college has compulsorily asked us to use MySQL and nothing else. That is what they taught us and expect us to work only with it. Please help.
You don't need PHP here, so don't worry about not knowing it. PHP is just another programming language (a web-based interpreted one), and isn't going to help you install MySQL.
You should probably ask your instructor for assistance, because anything we come up with would be a guess about how they intend for your to operate, whereas they know and have done this before many times. That being said, we can make reasonable guesses toward helping you.
You could probably have one master MySQL installation that all your installed Java applications access. This is probably what you want, rather than installing the MySQL application on each individual computer. Your Java application then connects to your college's MySQL server rather than localhost. This requires configuring the MySQL server for remote access, but if that's what they want you to do they probably have already done so.
The other option is to have an installer that actually installs MySQL and runs a series of scripts to import the expected database structure. I can't imagine this is actually the intention, but there are many different installers that can help with this, and it depends how what platform you're developing for as to which automated installation tool might work best for you. You can, to a large degree, script the installation of the official source, so you may simply be able to tweak that once you find the customization options you need, then wrap that in a simple shell script which first installs MySQL then imports your database structure. I can't imagine this is what your school intends, but that's how you would do it if it were. That or Chef, Puppet, or your distribution's built-in package manager. Too many options to cover them all thoroughly here.
I'm currently writing a client program in Java for my company that will access a mySQL database with customer information.
The company already has a Windows Small Business Server 2011 server with various images and reports related to the customers.
My intention is to store the path of these images into the mySQL database to be recalled from my Java application.
I guess my first question is: Is this possible?
How do I begin connecting a Java application to SBS in order to access an image file located on the server? Researching online has lead me to believe I can connect Java to SharePoint using a Java -.NET bridge. Am I heading in the right direction?
Is there any issue with installing the mySQL database on the same machine as a SBS?
This is my first time posting on StackOverflow; I apologize if my question format is not focused enough.
This is also my first time working with mySQL and servers. I've been able to figure out mySQL in Java; but I'd really appreciate a finger pointing in the correct direction with the server.
1 Yes.
2 Sounds like a decent approach. You might also consider a Java-COM bridge like jacob.
3 Possible issues may include
Licensing
Performance impacts
Memory impacts
Backup impacts
Lack of redundancy
Support
Implementation complexity
Storage requirements
I'm currently creating an android application and need to connect to a InterSystems cache (ODBC) database, this is the first time I have developed for android and have never connected to a database in java in the past, any help will be appreciated.
For Android development, I would highly recommend to use web services or Rest instead of ODBC. But there is a standard JDBC Java documentation (not sure if it will work in Android at all though):
http://docs.intersystems.com/cache20131/csp/docbook/DocBook.UI.Page.cls?KEY=ITECHREF_jdbc
You can also have a look at newer Zen Mobile framework designed specially for iOS/Android Cache development, ask for a copy in WRC
Do you really think it's a good idea to connect to the DB right from the user app? Accessing directly from user app to the DB is usually bad for you. I don't say "don't do it". Caché allows you to grant privileges to individual tables in SMP. (But you can't let the user to only access some records of a table.)
I know InterSystems Ensemble can communicate using SOAP, I am not sure about just Caché and REST, you would have to do a research of your own. However, I think it's a better idea than accessing the DB directly from the client. You could also cause problems with database's integrity by doing so.
I'm new to databases and i need to use it for a project i am working on, i have the following question.
If we use SQLite manager to create a database on java and then produce a jar file of the complete program. To install this project do we have to always have the SQLite Manager add-on for FireFox for every computer this program is going to be installed on. Despite having the ability to add and remove things from the database in my program in a GUI.
No, it's not necessary to include extra tools if your program contains every functionality that is needed to operate the database. In some cases it's even better when the end user can't directly access the database, to avoid all kinds of data corruption issues.
That being said, it can be nice to offer a generic tool alongside your solution, and SQLite Manager would be an excellent choice. Check out this list of SQLite management tools for other possible choices.
As a sidenote, there are embeddable database engines that are written in Java and may be easier/more natural to integrate in a Java program than SQLIte - examples of this type of product are Apache Derby and H2
Is there a way i can use an access database from my Blackberry Curve?
All i want is to be able to open the DB, open table and run queries.
How?
Thanks,
I'm not sure that's going to be possible due to the size of the engine needed to interface with Microsoft Access. Perhaps something like SQLite would be better? If you already have data in Access, then transforming it into something like SQLite first?
As a general rule you have to either adopt some web based technology, or at least get your hands on some developer tools that work on the particular product in question.
Obviously access does and run on Linux or a Mac Computer. Obviously word or excel does not run on your smartphone either.
However most smartphones do support web based technologies or have some type of web browser.
Access 2010 allows you to build web based applications. I'm currently testing and playing with some of my access applications on an apple iPad right now, and they work great.
For couple small little forms, it's probably likely cheaper and better to adopt some web based development tools like asp.net, but this is all going to come down to what type of infrastructure and web servers and other resources you have at your disposal within your organization to bring into play here.
You can take a look of the following video of mine, and you'll notice at approximately the halfway point, I switch to running the access application 100% inside of a standard based web browser.
http://www.youtube.com/watch?v=AU4mH0jPntI
So Access 2010 + sharepoint allows you to build 100% browser neutral based applications. This means no ActiveX or even Silverlight is required. Thus the resulting access application will run inside most modern browser, and this includes most smartphones.