How to invoke javadoc in JDeveloper 3
Hi all,
I am new to Java and JDevoper so I started with creating my first class HelloWorld.
That all worked out fine but how can I invoke javadoc from JDeveloper because my Doc tab stays empty, allthoug I generated the docs at the command prompt.
Joep Hendrix
The simple answer to your question is:
Create a library (myJavaDoc) which has a
Doc path pointing to your JavaDoc HTML root.
Add this library to your project's libraries
so JDeveloper knows to also search this path
when searching for documentation.
Note that a JavaDoc wizard is integrated into the upcoming JDeveloper 3.1 release.
Detailed Steps:
Menu Project | Project Properties...
In the Paths tab (in 3.0), Library (3.1),
press Add... button to define a new library.
Press New and create a library as follows:
Name: JavaDoc Documents
Class Path: <Nothing>
Source Path: <Nothing>
Doc Path: <Path to your JavaDoc HTML - i.e. [JDev]\myJavaDoc>
Press OK to define the library and Add it
to your project.
Now JDeveloper knows to search for this additional path for information and next
time you go to the Doc tab of your Source
file (which you have generated JavaDoc for),
you will see the generated JavaDoc displayed.
I hope this helps,
John @ JDeveloper Team
null
Similar Messages
-
How to invoke a webservice in the middle of a BPM process
I use BPM studio to create processes.
In the middle part of the BPM process, it need to invoke a web service (an ADF project deployed to weblogic as a web service). Then, it will wait.
After the process is finished, it will invoke another web service (an ADF project deployed to weblogic as a web service).
How to invoke web services in and after the process?
Thank you.Hi,
Thanks for your reply. I use BPM studio 10.3
In the Catalogue, there are 3 default components which are Fuego, Java, and Plumtree.
In the Fuego, there is an item of WebServices. In the Plumtree, there is an item named WebServiceProperty.
If I create a new Module, I cannot find the option of web service.
How to invoke a webservice (ADF/Java web service developed in Jdeveloper deploy to weblogic ) ?
Thanks. -
How to invoke a servlet from MDB
Hi,
Can someone please tell me how to invoke a servlet from MDB. Actually I want to have a MDB that will invoke a servlet that takes arround ~3 minutes to process and send the response back to MDB. Any small code snippet on invoking a servlet.
Thanksnope. this is probably a bad design.
but here's a hint: whenever you have a question like this, start browsing the javadocs. chances are there's a class that might help you.
i'd recommend that you look at this:
http://java.sun.com/javase/6/docs/api/java/net/HttpURLConnection.html
% -
How to invoke BPEL process from JAVA API
Hi Guys
Any idea if you can tell me how to invoke BPEL process from JAVA API ?
What to do in BPEL process manager to achieve that?
Regards
DeepakSee http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/invoke.htm#sthref1373 and the JavaDocs http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/toc.htm.
-
How to invoke a html file in a new browser
how to invoke a new html file to be opened from an applet
any help urgenthi,
do the following
URL url = null;
try
url = new URL("http://www.xyz.com");
catch (MalformedURLException e)
System.out.println("URL not correct " + e.toString());
if (url != null)
getAppletContext().showDocument(url,"_blank"); //shows the page in a new unnamed top level browser instance.
}hope that helpz
cheerz
ynkrish -
How to invoke a java webservices in flex
hi people.I am new to ths flex.How to invoke java web service in flex .please reply .Thanks in advance.
A good hands-on example to begin with web service calls..
http://blog.flexexamples.com/wp-content/uploads/WebService_operation_send_test/bin/srcview /source/main.mxml.html
Good Luck!
Nith
DISCLAIMER:
========================================================================
"This communication is intended only for the named recipient and others authorized to receive it.
It contains confidential or legally privileged information. If you are not the intended recipient, please notify us immediately, and note that any disclosure, copying, distribution or action you may take in reliance on this communication is strictly prohibited and may be unlawful. Unless indicated otherwise, this communication is not intended, nor should it be taken to create any legal and/or contractual relation or otherwise. Ministry of Finance (MOF) is neither liable for the proper and complete transmission of the communication, nor for any delay in its receipt.
Whilst MOF undertakes all reasonable efforts to screen outgoing e-mails for viruses, it cannot be held liable for any viruses transmitted by this e-mail." -
Hi, does anyone know how to invoke the JDev 10.1.3 oc4j_remote_deploy.jar from the command line? We have it working for 10.1.2, for automated deployment scripts.
If I try the same thing for 10.1.3, I get an error.
See below my command line and the output.
I think the error is in the Oc4jDcmServlet URL, the format seems to have changed from 10.1.2 to 10.1.3.
I tried to reverse-engineer by using an HTTP tracer, but that did not help.
Any help would be much appreciated.
Regards, Maarten Brugman
======================== command line: ==================
"C:\j2sdk1.4.2_09\bin\java.exe" -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdev-work\ebrp-new\ear\target\installer\oc4j_remote_deploy.jar http://lnvx0027:29805/Oc4jDcmServletAPI/ oc4jadmin ***** listApplications /oracle/oaedv03/oracle/oas/10.1.3/ontwj2e1013 UNDEFINED UNDEFINED OC4J_OEBRP
============ output: ====================================
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command listApplications /oracle/oaedv03/oracle/oas/10.1.3/ontwj2e1013
UNDEFINED UNDEFINED OC4J_OEBRP
Command = LISTAPPLICATIONS
Opening connection to Oc4jDcmServlet
Setting userName to oc4jadmin
Sending command to DCM servlet
**** Could not check HTTP response code
** Thread[main,5,main] ** Fri May 11 17:18:13 CEST 2007 ** ** EXCEPTION: java.
net.SocketException: Unexpected end of file from server
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:822)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:820)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:635)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272
at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.isHttpResponseOk(Unknow
n Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.sendCommand(Unknown Sou
rce)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.execute(Unknown Source
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.listApplications(Unkno
wn Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(Oc4jDcmMain.java:71)
#### HTTP response is NOT ok
Closing connection to Oc4jDcmServlet
#### DCM command did not complete successfully (-1)
#### HTTP return code was -1
============ end output =================================In my opinion, you will succeed in handling linefeeds in output texts by using an <tt><af:outputFormatted></tt> tag in conjuction with a JSF converter that replaces the linefeeds with a <tt><br></tt> tag in the text. You will have to implement a custom converter class (this is quite simple, see below) and to set it to the <tt>converter</tt> attribute of the <tt><af:outputFormatted></tt>. The converter class should look like:
public class MyLinefeedConverter implements javax.faces.convert.Converter
public MyLinefeedConverter() {
public Object getAsObject(FacesContext context, UIComponent component, String value) {
return value;
public String getAsString(FacesContext context, UIComponent component, Object value) {
if (value==null) return "";
if (value instanceof String) return ((String)value).replace("\n", "<br>");
return value.toString();
}In this way the linefeeds in your text values will be replaced by <tt><br></tt>, which will be rendered by the corresponding <af:outputFormatted> tag as line breaks. -
How to invoke a jsp value to another jsp
Hi i have a problem on how to invoke a jsp page from jsp page.
I have this function in index.jsp:
<script language="JavaScript"> function price(){ window.location="search_date.jsp" + document.forms['test'].getElementById('price'); } </script>"document.forms['test'].getElementById('price'); " are getting the values from another jsp (search_date).
<div class="tabbertab" title="Price" id="price"><h2>Tab 2</h2><p> <form name="test">There are three tabs in search_date jsp, the above codes are for price tab.
Im going to click on an image link in index.jsp, it will direct me to the price tab instead of two other tabs. How can i achieve this?
Thanks,
tiffanyThis appears to be more of a javascript than java/JSP question.
If you are trying to pass a parameter to the jsp search_date.jsp, you need to follow the standard syntax for parameters , with ? for the first and & for any subsequent ones..
ie
search_date.jsp?firstParam=1&secondParam=2
so possibly you meant:
window.location="search_date.jsp?myParam=" + document.forms['test'].getElementById('price');
However I am not sure.
What is clicking on this image link supposed to do?
Are you wanting to reload a page, or just show hide things without reloading? -
How to invoke JavaScript for Premiere Pro CC?
Hi,
I am new to Adobe CC products/scripting and I'm trying to control Adobe Premiere Pro CC from another desktop application. Using ExtendScript Toolkit, from its UI, I can invoke JavaScript commands or files.
But I can't find any way for my desktop application to invoke JavaScript commands. I can't seem to find any command line tool for it (no documentation either and JavaScript doesn't seem to be officially supported). Any help regarding this would be greatly appreciated.
I tried using the Socket object on a .jsx file to act as a server (to listen for commands from my desktop application) and placing it on the common startup script folder. But the start up script blocks the UI of the Premiere Pro application entirely (even if I use "$.sleep(milliseconds)" function in between the "poll" function for acquiring a connection). This wouldn't work for my application as I can't block the UI.
For After After Effects CC, I can use the "afterfx.exe" on Windows and AppleScript with "DoScript" command on Mac, to execute JavaScript expressions or files. But this doesn't seem to work with Premiere Pro or any Adobe CC products. For Photoshop, I can just open any .jsx file with Photoshop (for e.g. "Open With") and it runs the .jsx file. But this technique doesn't work with all the other Adobe CC products (even the ones which support JavaScript officially).
According to Adobe Premiere Pro developer centre, there is no mention of any JavaScript support. But since the functionality does seem to be there (as discovered through ExtendScript Toolkit), I am hoping I can get away just by using JavaScript commands to control Premiere, as opposed to using the native SDK for Plugins. However, I really hope Adobe Premiere Pro folks are seeing this and they officially support JavaScript soon .
Thanks for your help.Hi all,
Any help? Seems that the general Adobe Premiere forum is a lot more active in terms of responses. That is why I originally kept in the general forum at first.
Due to the lack of documentation, I ended up spending even more time just to figure out how to invoke Premiere Pro with a JavaScript file, from the command line. But no luck still . Any advice would be greatly appreciated.
Thanks. -
How to invoke a stored procedure in database adapter
Hi All,
i have created a database adapter which contains a stored procedure, the procedure is merge process,which bring data from another database,
i have made sure that checking for new records and updating any changes from the source database everything has been taken care in the procedure.
my question is how to invoke this process, what all process activities need to be associated with the database adapter, to invoke it
assuming i want to run it every 5 hours,
any reply would be of great help.
Regards
AnanthHi,
V thanks for you reply, i am v much new to this bpel environment, i tried using invoke but got errors like
Error(61):
[Error ORABPEL-10107]: Invalid initial activities
[Description]: in line 61 of "C:\jdevstudio10134\jdev\mywork\Incremental_refresh\data_incr_refresh\bpel\data_incr_refresh.bpel", Initial activity is invalid. An initial activity must be of a receive or pick activity..
[Potential fix]: Please re-arrange the BPEL process definition to make sure its initial activity is of a receive or pick activity. (e.g. by adding new receive activity or removing invalid initial activities..
Error:
[Error ORABPEL-10063]: missing initial receive activity
[Description]: in "C:\jdevstudio10134\jdev\mywork\Incremental_refresh\data_incr_refresh\bpel\data_incr_refresh.bpel", there is no receive activity that starts the process.
[Potential fix]: make sure one of "pick" and "receive" activities have attribute "createInstance" set to be "yes".
later i used the service pick, so from pick i am heading to ivoke and later to finally database adapter, but still getting below error
Error(59):
[Error ORABPEL-10900]: xml parser error
[Description]: in line 59 of "file:/C:/jdevstudio10134/jdev/mywork/Incremental_refresh/data_incr_refresh/bpel/data_incr_refresh.bpel", XML parsing failed because file:/C:/jdevstudio10134/jdev/mywork/Incremental_refresh/data_incr_refresh/bpel/data_incr_refresh.bpel<Line 59, Column 19>: XML-24536: (Error) Missing Attribute 'partnerLink'.
[Potential fix]: Fix the invalid XML.
Error(59):
[Error ORABPEL-10900]: xml parser error
[Description]: in line 59 of "file:/C:/jdevstudio10134/jdev/mywork/Incremental_refresh/data_incr_refresh/bpel/data_incr_refresh.bpel", XML parsing failed because file:/C:/jdevstudio10134/jdev/mywork/Incremental_refresh/data_incr_refresh/bpel/data_incr_refresh.bpel<Line 59, Column 19>: XML-24536: (Error) Missing Attribute 'portType'.
[Potential fix]: Fix the invalid XML.
Error(59):
[Error ORABPEL-10900]: xml parser error
[Description]: in line 59 of "file:/C:/jdevstudio10134/jdev/mywork/Incremental_refresh/data_incr_refresh/bpel/data_incr_refresh.bpel", XML parsing failed because file:/C:/jdevstudio10134/jdev/mywork/Incremental_refresh/data_incr_refresh/bpel/data_incr_refresh.bpel<Line 59, Column 19>: XML-24536: (Error) Missing Attribute 'operation'.
[Potential fix]: Fix the invalid XML. -
How to Invoke Extensions in Java Concurrent Programs - Urgent
hi all,
can any one help me in understanding how to invoke Extensions (attached to Rules) in Java Concurrent Programs (part of autoconfig)
it is migration task from FC to Extensions
Please suggest
thanks,
Srikanthif you want to invoke the rule, that triggers the Extension, create a rule which invoke the rule, like "ALWAYS TRUE" REQ Extension. Then as soon as the Model in instaniated, the Extension will be executed.
-
How to invoke another Java file in Java program?
Hello all,
Now I am building a commnity of agents that can talk in Java, I have another Java-Based dialogue system to handle the dialogue between the agents. But I don'y know how to invoke the Java dialogue system file in the agent class.
Is there any methods can call another .java file in a Java program?
Help!!!!!pleaseYep, vaguest of the vaguey vague vague.
Anyhoo,
I'm guessing you want to call a method from a different class?
Assuming you have the "Runner" class and then "Agent1", "Agent2", etc.
Agent1 whatever = new Agent1(); -
How to invoke alt-text for images in a PDF file by Automation
Hi,
Can any one help me?
How to invoke Alt-text for Images in a PDF file using script?
Thanks for looking into this.
Regards,
SudhakarWhat do you mean "invoke" alt-text? If Alt-text is there, then it will be presented to a screen reader.
-
How to invoke an other BPM asynchronous process from the BPM process
Do anyone know how to invoke other asynchronous process from the BPM process without using the Web Service URL?
Try using a Service task implemented as a Process Call. Then you select the process you want to call, set the associations or transformation and deploy it to test.
I hope it works for you.
isabelbernely -
How to invoke the FTP rename operation?
Does anybody know whether it is possible and how to invoke the 'rename' operation from the FTP Adapter (using ESB)?
Thanks in advance,
Jeroen van SchaijkHi,
Please use the below code for your Web Service Call
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cus="urn:crmondemand/ws/odesabs/customrecordtype/" xmlns:data="urn:/crmondemand/xml/customrecordtype/data">
<SOAP-ENV:Header>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext">
<wsse:UsernameToken>
<wsse:Username> USERNAME </wsse:Username>
<wsse:Password> PASSWORD </wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<cus:CustomRecordTypeUpsert_Input>
<data:CustomRecordType>
<!--You may enter the following 6 items in any order-->
<data:Name>myname</data:Name>
<!--Optional:-->
<data:SingularName>myname</data:SingularName>
<!--Optional:-->
<data:PluralName>myname</data:PluralName>
<!--Optional:-->
<data:ShortName>myname</data:ShortName>
<!--Optional:-->
<data:IconName>myname</data:IconName>
<data:ListOfCustomRecordTypeTranslations>
<!--1 or more repetitions:-->
<data:CustomRecordTypeTranslation>
<!--You may enter the following 4 items in any order-->
<data:LanguageCode>?</data:LanguageCode>
<data:SingularName>?</data:SingularName>
<data:PluralName>?</data:PluralName>
<data:ShortName>?</data:ShortName>
</data:CustomRecordTypeTranslation>
</data:ListOfCustomRecordTypeTranslations>
</data:CustomRecordType>
</cus:CustomRecordTypeUpsert_Input>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Hope that helps!
Thanks & Regards
Sablok Kumar
Maybe you are looking for
-
how do i link my iphone to my apple id'
-
My ipad 1 is stuck on IOS 4 as these IOS 5 update instructions do not work. When I use itunes update the software looks for an IOS 5 software update file and the apple site doesn't seem have one anywhere!
-
I am using Pages from iWork 06. I want to save/turn the file I created in Pages into/as a jpg file. Is this at all possible? Or is there another process first to change it from pdf to jpg. Thank you veedeekay
-
Can't find this module. Please help!
I want to edit this module, but can't find it on the Module Template, Content Holders nowhere... module_productfeaturelist,featured,100,Default,,true Please help. Thank you!!
-
when u go for cpa cache when u go for sxi_cache what is difference between them