Java WebStart mixed with MS CLR stuff?

Status
Not open for further replies.
All --

We have this humongous application (more of a framework with pluggables) that consists of Java, C#, Oracle DB, ArcGIS ... you name it, I think its attached.

Most of the number crunching stuff lives on a server, but all of the user-side elements, the GUIs and such, reside on the client side. Since these are pluggables, we are able to update/enhance them fairly easily.

What we don't have is a sane way to deploy these updates to the clients.

Right now, the lead developer builds the software on his workstation then pushes (i.e., uses xcopy and the default C$ share remotely) all those changes out to the clients. He's the only one with administrative permissions on the various machines to make this work. We don't own the infrastructure, but a few "client-side" administrators have the juice and knowledge to make local changes that won't get overridden by GPO or various software updates. I believe SMS is installed, but, again, we don't own the infrastructure.

He's now looking at a way to do those updates using Subersion (publish updated binaries to a subversion repository and have the client side do an "svn update" at startup.) I personally think this is a bad idea -- I've tried something like it in the past and something bit me on the ass with it, but I don't recall exactly what it was, but it was bad enough that I got it deeply engraved on my brain NEVER AGAIN -- but I can't put into words with him why I think its a bad idea.

But back on-topic:

The Windows/C# pluggables are compiled to DLLs. The Java GUIs are compiled to JAR files.

I know about WebStart and basically how it works, and I wonder if there's some way to incorporate these DLLs into the WebStart "packages" and make this updating bit a smidge more sane.

I'm not entirely sure how to plug new stuff into this system, so I guess I need to do that bit of research as well.

But I'm wondering how you all deal with this kind of thing.
 
[url=http:/civis/viewtopic.php?p=25197963#p25197963:upvywef9 said:
ShuggyCoUk[/url]":upvywef9]Use java web start for the java bits, and ClickOnce for the .Net bits.

I'm more the UNIX-y lead, while he's the Windows-y lead. He mentioned ClickOnce wouldn't work for some reason or other ... probably because we're not trying to deploy the whole app, just the plugins. The whole app (the framework) is a fiddly bit to get installed and, from what I understand, has to be manually installed most of the time.

If you're mixing them both in the same app (i.e. what the user thinks they are 'launching') heaven help you you have bigger fish to fry than this.

This ^^ :(
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
There are a plethora of mechanisms to ensure deployment of files, to machines designed for this. some are bad, some good, some very particular. Do NOT use version control to do this. It is NOT designed to do this.

Heck just include a robocopy /MIR pull from your app with the source a known unc path is better than mucking about with an svn update.
 
[url=http:/civis/viewtopic.php?p=25198319#p25198319:1yhkl073 said:
ShuggyCoUk[/url]":1yhkl073]There are a plethora of mechanisms to ensure deployment of files, to machines designed for this. some are bad, some good, some very particular. Do NOT use version control to do this. It is NOT designed to do this.

Heck just include a robocopy /MIR pull from your app with the source a known unc path is better than mucking about with an svn update.

Ah, there's a rub that I forgot to mention ... we're not allowed to put programs/installables/executables on shared drives ... only data files and documents.

/crazytalk

We thought about doing it from a Samba share from the UNIX-y side of things, but default GPO on the Windows side doesn't save credentials for non-domain shares (UNIX login domain is separate from Windows domain.)
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
Ah, there's a rub that I forgot to mention ... we're not allowed to put programs/installables/executables on shared drives ... only data files and documents.

You are no longer in the realm of reasonable then.

Making the copy operation happen via a VCS does not change the action you are performing (user pulls bits from somewhere based on inherent automatically accessible local credentials). Your IT admin people are either idiots, or there genuinely is a reason not to allow this for an over arching business requirement and you are in fact doing a back end round it, which should be a bad thing (else why the requirement).

How are updates to other applications distributed? surely you can get in on that process (or is it too slow)
 
[url=http:/civis/viewtopic.php?p=25205523#p25205523:3w0o2tfo said:
ShuggyCoUk[/url]":3w0o2tfo]
Ah, there's a rub that I forgot to mention ... we're not allowed to put programs/installables/executables on shared drives ... only data files and documents.

You are no longer in the realm of reasonable then.

Making the copy operation happen via a VCS does not change the action you are performing (user pulls bits from somewhere based on inherent automatically accessible local credentials). Your IT admin people are either idiots, or there genuinely is a reason not to allow this for an over arching business requirement and you are in fact doing a back end round it, which should be a bad thing (else why the requirement).

How are updates to other applications distributed? surely you can get in on that process (or is it too slow)

These are the constraints in which I'm supposed to magically come up with something better than a single guy with admin access being able to push stuff out to workstations from his workstation. Other applications, supported by the over-arching IT infrastructure, are handled with, what appears to be SMS. Our apps are local apps and, as far as I can tell, we have no hooks into that infrastructure.

And then, of course, comes all the "it works on my machine" crap ... of course it does! You wouldn't push out something that DIDN'T work on your machine, would you?

As far as building on each machine ... yeah, I realize that was tongue-in-cheek ... but we seriously don't have that many licenses for Visual Studio to go around. :D

"Pygoscelis"

Trademarked. ;)
 
Status
Not open for further replies.