Jump to content
Excelsior Forums
stbatuhan

What is the best way to do updateable Application

Recommended Posts

Hello to everyone,

I'm new on Jet Excelsior. I started in a company and we're developing java application contains lots of classes and libs. So what is the best way to do updateable one. They're using Jet but it makes one exe for the install and then they release it via JP2 setup. 

So i have to make seperate dlls but there is lots of java files. And also make it updateable when we change example frame.java kind of things. 

Share this post


Link to post
Share on other sites

Hello,

Quote

So i have to make seperate dlls but there is lots of java files.

Excelsior JET allows you to separate a project into several DLLs and one main executable. This feature is known as creating of multi-component applications. You can read about it in Excelsior JET User's Guide here:

    https://www.excelsior-usa.com/doc/jet/jetw013.html#0358

Please also find example that demonstrates this feature in our samples: <JET installation directory>\samples\MultiComponent

 

Quote

 And make it updateable when we change example frame.java kind of things

For these purpose updatable installation package could be created in JetPackII. You can read about it here:

    https://www.excelsiorjet.com/docs/jet/jetw007#0131

Share this post


Link to post
Share on other sites
3 hours ago, dbg said:

Hello,

Excelsior JET allows you to separate a project into several DLLs and one main executable. This feature is known as creating of multi-component applications. You can read about it in Excelsior JET User's Guide here:

    https://www.excelsior-usa.com/doc/jet/jetw013.html#0358

Please also find example that demonstrates this feature in our samples: <JET installation directory>\samples\MultiComponent

 

For these purpose updatable installation package could be created in JetPackII. You can read about it here:

    https://www.excelsiorjet.com/docs/jet/jetw007#0131

Thanks for the reply. I'm currently working on that and manage to split 2 dlls and 1 exe working together but when i change smt in the first one (inside the jar) and repack to dll it doesn't work with others. On the result part there is no errors no warnings. 

Share this post


Link to post
Share on other sites
On 14.02.2017 at 8:08 PM, stbatuhan said:

Thanks for the reply. I'm currently working on that and manage to split 2 dlls and 1 exe working together but when i change smt in the first one (inside the jar) and repack to dll it doesn't work with others. On the result part there is no errors no warnings. 

If you rebuild the dll, you should rebuild all components (dlls and executables) which are dependent from it. Please confirm that rebuild of dependent components helps.

Share this post


Link to post
Share on other sites

I manage to make different dlls for libraries for now. Used jvmprop for all necessary dlls to make others and made the exe with jetvmprop command and also !uses command to show where others are but there is another part for me. Trying to move them in Libraries folder and exe out of it, on the main folder. So this is not working on exe creation part :( What do i need to change? I also use exe for one part of the program, others are on the dlls and there is also another dll for the main exe. 

For example:

Client jar to splitt 2 jars. Clientexe jar and clientdll jar. So exe one makes the exe of the program and other is the main dll. So that main dll will be on the same folder too.

 

In which file should i show location and what is the right way to do that? ./Libraries/xyz.dll ?

Share this post


Link to post
Share on other sites

If you want to move some of your DLLs into separate folder, you could do this during packaging your application in JetPackII on Step 1 (Page "Files").

Share this post


Link to post
Share on other sites
58 minutes ago, conwor said:

If you want to move some of your DLLs into separate folder, you could do this during packaging your application in JetPackII on Step 1 (Page "Files").

That's so great, solved the problem with that. I never thought that JP2 handles some dll things but it is a part of process. That's great, thanks :)

Share this post


Link to post
Share on other sites
1 minute ago, stbatuhan said:

That's so great, solved the problem with that. I never thought that JP2 handles some dll things but it is a part of process. That's great, thanks :)

Glad to hear the problem is solved! :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×