I am desperate for help guys. am trying to deploy a web application in weblogic server, but nothing works!!
I created a project in jdeveloper and created a jsp page inside the project, all what i want is to run that page!
I followed the instruction here: Deploying Fusion Web Applications , I don't really know if i did it right or wrong, the document is too detailed and not understood clearly.
I am a newbie oracle user, and trying to build jsp web application connected to oracle database. application deployment fails it says: cannot run application error deploying IntegratedWeblogic..
please could you tell me the steps of application deployment in Jdeveloper 12c?
what deployment profiles I need to create (ear, war , mar)?
what deployment descriptor I need for my app to work?
please guys I am newbie to oracle, if you could give me simplified answers and straight instructions it will be appreciated .
USer, this depends on the technologies you selected when you created the application in the first place.
If you had chosen 'Fusion Web Apllication' all descriptors are build for you when the application is created by the framework. You should be able to build your page and run it in the integrated weblogic server. However, you have to decide how to connect to the db (e.g. using adfbc, or ejb/jpa or anything else). as this influences the work you have to do. Again using adfbc does all this for you after you tell the framework which connection to use.
This leaves the question what you have done. Please provide the necessary info.
thank you mate for the quick reply, i created a new project and chose ADF fusion web application.. and now it works. thank you a lot mate.
it seems the application I created was not ADF maybe J2EE (not really sure).
another question if u don't mind, I am trying to build web application using jsp and html, shall I use ADF fusion ?
thank you again bro
This depends on your knowledge about jsp and the possible controllers like struts, faces and adf (which is an addon to jsf). ADF does have the advantage that many configurations and other stuff is handled for you. However, if you are familiar with struts you can use this too.
The decision also depends on the application and what it should do. I can't comment on this, as I don't know.
As you are using 12c my recommendation is to use the full adf stack, meaning adf faces and adfbc for the access of the data in the db.
There is a licence for adf if you want to deploy to a WebLogic Server, however there is a free version (adf essentials) which uses GlassFish as a server.
I am building a local web application, meaning the server is internal and will not connect to the web, only to local pcs via network. the application will insert/select data from the database server. My company wants to embed oracle technology on the datatabse and that what am trying to. I am not that expert in java and oracle in general, my main knowledge are in php, html and mysql programming. through my long internet research a lot has recommended jsp with html to be a good choice.
At beginning I played around with ADF faces, I found it annoying because I prefer coding than using drag and drop interfaces, which always create unwanted results.
Also am not that professional java programmer, i started learning jsp and found it easier.
What I am thinking of is to make a web based application that works in browsers (like php), this application has forms to insert data, and also has forms to output data for printing. that's all. I tried to make it in php, but through my little knowledge and internet researches it seems php does not work with oracle and java is the recommended choice (or it works with php but too complicated to make it)
any recommendation will be much appreciated
it seems php does not work with oracle and java is the recommended choice (or it works with php but too complicated to make it)
Its not so complicated: Installing PHP and the Oracle 11g Instant Client for Linux and Windows
I just wonder if there is any disadvantages using PHP with oracle? or if there is better advantages in using java?
If by "oracle" you mean "oracle db", I don't think that there is some disadvantage.
And you can't compare java with php because java is general purpose language.
So you need to compare php with jsp/jsf/adf/spring mvc/....
Other references for using PHP & Oracle are:
There are also a number of commercial books on PHP & Oracle.