Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Perl, Java, MySQL?

by dHarry (Abbot)
on May 20, 2014 at 15:06 UTC ( #1086804=note: print w/replies, xml ) Need Help??

in reply to Perl, Java, MySQL?

Hi wjw

an application written for mobile apps in Java using a MySQL database

This leaves open questions. Depending on how the application is partitioned, i.e. what runs where, and if changes can be made to server-side Java, if any.

If the app was developed with the Android SDK and it connects to a server where mySQL runs with no server-Side Java you just need a database connect:)

If there is server-side Java (there are various flavours ranging from "simple" to Enterprise Edition) there are severalways. It very much depends how it is implemented and if changes can be made to it.

Using one of the mentioned alternatives will likely lose you more than "some performance". I propose a different approach. You can easily expose Java classes as Web services and this can be integrated a lot easier!



Replies are listed 'Best First'.
Re^2: Perl, Java, MySQL?
by wjw (Priest) on May 20, 2014 at 15:39 UTC

    Much appreciated Harry! The web services approach is exactly along the lines I was thinking. Thanks for articulating that.

    What I would hope to do is let Perl handle the entire web user interface(forms, instructions, ajax calls etc...), and for data entry/manipulation, simply hand the collected results to the Web Service as you pointed out. Thus hopefully excluding the already developed access to the DB.

    As a result, the developers working with the main app(mobile) can modify as they wish without having to have updates to the Web front end unless there are schema additions or removals.

    Again, as jeffa pointed out, it seems to make more sense to just do the whole thing in Java. On the other hand, I can imagine a scenario where the app developers may not want, or are unable, to expand their internal team and just want to outsource the web portion of the project, thus allowing them to focus completely on the mobile app. I don't know that this is the case, but it seems possible based on my experience with small companies.

    Thanks again for the input!

    ...the majority is always wrong, and always the last to know about it...

    Insanity: Doing the same thing over and over again and expecting different results...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1086804]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2020-06-07 01:41 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (41 votes). Check out past polls.