Hello, last video we created a simple simple application and we create a class and we add all reusable ADF code which we can use it at any ADF application. Now, this project is ready to be deployed. So I will deploy this project as a jar file. So I will select the project my share project deploy new deployment profile and I can call it ADF library JAR files fine. And we can call my share it if I could. Okay, okay.
Then right click, deploy my shirt if code deploy it to a vibration. Nick is and this is Abbas will be and finish Okay, so this is the first shot file, we have this release. If you want to share library will have, you will share the template and CSS of icons and so on. You can open our my shirt template application which we created before, this is our template and this is our m icons and images which we will use in all the application and you want to put it in one place as well. So we need to generate a jar file again. So we will generate a short file again for this template.
So now I have two JAR files. One contain my EDF code, and one contain my template and CSS on the images and icons and I need this pose of jaws for you To be in one place and in WebLogic and all in a fabrication point to this. So, the first thing we will do, we will bought this Photoshop file in one WAR file and the blue is for file as a share application. So, let us do that I will go to the first JAR file which is generated from this is my jar file okay and it does go again to the author's your file and put it in the same box all in the same place Okay, this is my short file C and Ctrl V. So both my short file exists now in this boss. So let us create it as copy both of them.
Okay and let us now create And this application because the application and I will call this application Molly if she like very this might if shared library Nick is Next and Finish and I will go to the boss of this project and I want to talk about a library for Java file in the folder called lip so I will add here for the lip and I will pass my two jobs okay. This is what I did try create a custom application called my ADF share library and I burst I bought the treasure file in this project was in the lib fort. Then I will open this project and I will add the library Here I will select my tool JAR file. So my tools JAR file my shirt if code and shared the diff template exist in the library and the classpath of this project or this application Okay, after that I need to generate a war file.
So I need to open the deployment here and I will add here a new WAR file and they can call it my PDF share. Library. This is my wife file. The only thing you will do is this WAR file. Just be sure that your jar file my shared it if debit is detected here, and is a general just syndic this safale Java equal takes root and didn't do anything because this is will not be an application was a Kentucky's throat. Just make it as empty legs just select this and didn't select any thing and press OK. Brace yes and okay then I need to deploy a war file deploy to WAR file next finish so now I have a war file which contain two JAR files.
This is my cheer WAR file. So as I told you, you can create initial foil future shared symbol shared code if you have anything else you want to make share Korea foil After you create all your files, just create any any symbol custom application and add in this application in the library. Add all JAR file inside this application and generate a war file contain all this raw file. Next video I will show you how we can deploy is this WAR file in WebLogic as a shared library, so see as a library to see you can still read