NetBeans confusion
What is the difference between NetBeans IDE 5.5 and NetBeans Early Enterprise pack 5.5.
Article on:
http://developers.sun.com/prodtech/javatools/jsenterprise/tpr/reference/docs/bpel_gsg.html
shows a "switch" activity whereas in my installed NetBeans IDE 5.5
I have "If" instaed of "switch". Are different versions of BPEL spec implemented in the two IDEs?
Hi,
Following is the schema for the process service:
<element name="FlightServiceProcessResponse">
<complexType>
<sequence>
<element name="result" type="client:FlightServiceResponse"/>
</sequence>
</complexType>
</element>
<complexType name="FlightServiceResponse">
<sequence>
<element name="flightOptions" nillable="true" type="xsd:integer"/>
<element name="flightServiceOption" type="client:FlightServiceResponseItem"/>
</sequence>
</complexType>
<complexType name="FlightServiceResponseItem">
<sequence>
<element name="item" type="client:FlightServiceResponseItemChild" maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="FlightServiceResponseItemChild">
<sequence>
<element name="currency" nillable="true" type="xsd:string"/>
<element name="destination" nillable="true" type="xsd:string"/>
<element name="duration" nillable="true" type="xsd:string"/>
<element name="fare" type="xsd:double" />
<element name="flightNumber" nillable="true" type="xsd:string"/>
<element name="source" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
Now the problem that I am facing is that when according to your suggestion I create a predicate the predicate say item[0] does not show any child elements in the mapper and if I assign the "part" of any output variable to item[0] directly I get the following exception:
org.apache.commons.jxpath.JXPathException: Exception trying to create xpath /FlightServiceProcessResponse/result/flightServiceOption/item[0]; java.lang.NullPointerException
moreover in the mapper you'll see that in there will be two parts in the parent element namely item and item[0]. I am not sure if I am doing it correctly but a hint from you would really help.
Once I am though with this simple sample I would like to pass it to you as an example of using arrays in business process.
Thanks.
Similar Messages
-
IDE relationship confusion studio ONE vs netbeans , etc
I have been using an IDE to make my Swing GUI. It has been very helpful. I use Sun ONE STudio 4 Community Edition because it seemed like the standard. I am confused that it says it is built on netbeans. Does that mean it uses the netbeans code and improves one it?
I am further confused that Studio 5 just came out and Sun is telling me to use Netbeans instead of Studio now. It is still on version 3.5! Is it a rollback to go from studio 4 to netbeans 3.5?
Studio is so slow on my 1.3 ghz machine that I can't belive it! Should I expect any of the other applications (that allow for gui editing) to do any better?
Am I locked into Studio now that I have code that their GUI creator has made?
Thanks in advance for your responses.Hi!
I think you can find some answers to your questions here:
http://www.netbeans.org/kb/faqs/general.html
Regarding the performance issues:
http://www.eclipse.org/
as well as the plugins page:
http://www.eclipse.org/community/plugins.html
And for the UI, there are some other alternatives, such as:
http://uic.sourceforge.net/
Good luck ;)
/rp -
Confused between Netbeans and Sun Studio Enterprise
Hi all,
Acually I am very confused between Netbeans and Sun Studio Enterprise/Creator.
Why sun did not concentrate on one IDE as Microsoft is doing with Visual Studio?
Now, I do not know what to learn....Netbeans or Sun Studio !!!
What make me more confused is that both are supported oficially by Sun. And both are free for SDN members!!!!!
So, what is the difference???!!!
regardsI tried it back when it was called Forte, and it seamed pretty
identical to netbeans. the only difference was that Forte could
only be used for personal use without a license. -
Confused - jCreator or Netbeans for web developement
Hello,
With the Visual Web Pack in Netbeans, what IDE should I be using for web development?
Is there an advantage to JCreator over Netbeans?
Thanks
FrankVWP final release (or whatever they're calling it) is now available. The way I read it is this: VWP will have a niche for anyone who wants to develop the whole hog in one environment.
Creator has some ease of use features that will not be ported to VWP in the near future.
Not really mentioned is the fact that Creator can probably be faily easily aligned with the NB 5.5 code base now. (It's been stuck on the 4.1 or so branch apparently.) This may be one of the things to expect in the future if Sun chooses this route. -
TimedObject -' TX attribute ' is not working with netbeans 5.0 and SAS 8.0
Hello,
I am building a master timer stateless session bean. I have followed the examples from this site as well as I know how, and have even removed all of the system messages and other fluff. I continue to get the following error:
EJB Timeout method must have an attribute value of TX_REQUIRES_NEW OR TX_NOT_SUPPORTED for ejb
I have looked through the TimedObject, Timer, and TimerHandle API, all of which seems very simple and does not have any TX field. The example from the site is also very simple, only requiring the declaration of a timer start, which needs a TimerHandle return(although the example does not have it returning a value, I have tried this code both as written and with a class level TimerHandle object returned from the createTimer(...).getHandle() method ), and the declaration of a void ejbTimeout(Timer timer). This method should work with no body in the method since the return is void. I also set my timer intervals to ensure that they were
I am very confused and feel that this should be very easy. Does anyone know if I am dealing with a configuration error? I know that netbeans does not directly support the use of the ejb TimerService (which seems a little crazy to me, as most non-trivial applications require a timer in some form for periodic events), so are there any deployment descriptors in any of the files which need to be set for this service to work? This error looks to me like a configuration error on some level, or possibly a missing entry in one of the myriad of xml configuration files that are required. The code for my bean is below:
package QualityPortal;
import javax.ejb.*;
* This is the bean class for the MasterSchedulerBean enterprise bean.
* Created Jul 18, 2006 12:40:18 PM
* @author ttaylor
public class MasterSchedulerBean implements SessionBean, MasterSchedulerLocalBusiness, TimedObject
private SessionContext context;
private TimerHandle timerHandle = null;
public void setSessionContext(SessionContext aContext)
context = aContext;
* @see javax.ejb.SessionBean#ejbActivate()
public void ejbActivate()
* @see javax.ejb.SessionBean#ejbPassivate()
public void ejbPassivate()
* @see javax.ejb.SessionBean#ejbRemove()
public void ejbRemove()
// </editor-fold>
* See section 7.10.3 of the EJB 2.0 specification
* See section 7.11.3 of the EJB 2.1 specification
public void ejbCreate()
timerHandle = startTimer();
public javax.ejb.TimerHandle startTimer()
TimerService timerService = context.getTimerService();
Timer timer = timerService.createTimer(30000, "created timer");
return timer.getHandle();
public void ejbTimeout(Timer timer)
//call to another bean here
WMLReportFactoriesBean wml = new WMLReportFactoriesBean();
wml.inspectionThroughput();
}Your ejbTimeout() must have a transaction attribute, which resides in the ejb-jar.xml. You'd have to edit your descriptor to contain something like:
<container-transaction>
<method>
<ejb-name>MasterScheduler</ejb-name>
<method-name>ejbTimeout</method-name>
</method>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>
Or NotSupported.
Hope it helps. -
Java client for WCF STS service without netbeans etc.?
I want to communicate with a WCF service that uses an STS. I want to know what I am doing, so I don't want to use netbeans. If I have to use netbeans to figure it out for myself, can you help me interpret this part of the documentation for metro:
https://metro.java.net/guide/ch12.html#gghnt
How do I retrieve the certificate from the .NET service to use if I follow the instructions?
Or, other suggestions would be helpful.
ThanksI'm a bit confused why you're using an Applet to do this as it will require you to serve the Applet from the same server as where the .Net web service lives.
If I was doing it I'd take advantage of the web service capabilities built into Java 6 (the only supported version from Sun). The wsimport tool would be able to reverse engineer the WSDL from the .net web service and generate client side classes for you. -
I had up-to-date JRE and an older JDK5 and wanted to get latest JDK.
I installed jdk-1_5_0_08-nb-5_0-win-ml.exe. There is now two JDK directories JDK1.5.0_0[18] , jre1.5.0 and jre1.5.0_0[12468].
But the environment variables did not get changed.
CLASSPATH=.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip
javabin=C:\Program Files\Java\jdk1.5.0_01\bin
JAVA_HOME=C:\PROGRA~1\Java\jdk1.5.0_01
QTJAVA=C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip
I was expecting one of the updates to correct the environment variables. Or at least a document that explains what needs to be done. I am confused by the JRE vs JDK and what should point to which.
Can anyone clarify this or point to a doc that does?Java installs do not create or update MS's environment variables - do that manually, as explained in the Java Installation Instructions.
And note that your installed the Netbeans - Java combination package,
jdk-1_5_0_08-nb-5_0-win-ml.exe
Uninstall all but the most recent JDK and JRE version, and point the variables to them. -
Hello,
When I go into NetBeans, I get confused on what to do when they ask to mount a filesystem. And also how do I set up the Java classpath? Like I said, I've just installed it and was wondering if you could give me instructions on how to set things up so I can start coding.
Thanks,
TaylorWhen I go into NetBeans, I get confused on what to do when they ask to mount a filesystem. And I don't blame you. This has to be absolutely the worst idiom for a development environment to use. Most developers know what a filesystem is, and it isn't remotely what NetBeans means when they say "filesystem".
Fortunately, the newer NetBeans 4.0 Beta's project system is slightly saner, though they still have much of the unfortunate terminology hangover from the older versions.. -
Embed a media player in netbeans IDE
Hi guys!
I'm pretty new to development in Java, right now I'm using netbeans as the IDE to development a P2P file sharing program for my school project. One of the module is to embed a media player that can playback the media files shared by the program. My group choosed to use VLC. The targeted machine to run is on a Windows XP. If the program can compile and run on Linux, that would be a plus.
Now, having searched the web on how to embed a player, I am utterly confused and lost.. Can anyone suggest some tutorials on how to embed a media player, or even an alternate player that's easily implementable in netbeans?
JJWhen you click on the play video buttons, the rest of the page turns cloudy and the media player pops out.
Modal window, Highslide, Lightbox, Floatbox, Litebox, Colorbox... There are about a hundred different versions of the same thing.
Also what movies files can I play??
Andy,
That depends on your target audience. If you need to support laptops/desktops and smartphones -- Droid, Berries, iPhone, iPads, etc... may may need to offer visitors more than one flavor to choose from.
See this link -- Video For Everybody!
http://camendesign.com/code/video_for_everybody
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Oracle jdbc driver problems in netbeans 5.5
need help again....i'm experience a problem. the problems are :
i connect from netbeans 5.5 to oracle database express client 10g using jdbc driver ojdbc14.jar. the connection succeded (all the tables appears and i even can view the data). but when i trying to bind data to a drop down list component (with right click to the dropdown list component and then bind data), the dataprovider of that table appear in red color and there's no field appears in that. i'm so confused? i already add the ojdbc14.jar driver to the following path :
1. i create a new class library in netbeans with consist of that driver,
then added to my project (right click in my project then add library).
2. then i added the ojdbc14.jar driver to my tomcats lib at "C:\Program
Files\netbeans-5.5\enterprise3\apache-tomcat-5.5.17\common\lib".
Is there any additional settings in using oracle jdbc driver? Does anyone knows? thanks a lot for the answers...
Message was edited by:
darma_sadhaHi!
I'm using NetBeans 6.5 and I'm having some troubles to connect.
The steps I've made:
- Create the connection pool in Glassfish, nothing special, just standard parameters (Based on javax.sql.DataSource and including URL, Username and Password).
- Create the JDBC resource associated with that connection pool,let's say jdbc/test.
Now in NetBeans I register the driver:
- New driver -> Find the ojdbc14.jar and from the options that I can choose it shows: oracle.jdbc.OracleDriver and oracle.jdbc.driver.OracleDriver.
If i choose without +.driver+ I got the thin drivers (the ones i want) and if i chosse the one with the other one I got the OCI drivers. So I choose the first option oracle.jdbc.OracleDriver
- Then I go to my project and click New -> Entity Classes from Database and from Datasource I select jdbc/test and it shows the following error message:
Unable to find the driver oracle.jdbc.driver.OracleDriver. Please register this driver in the Databases.
I can fix it if while registering the ojdbc14.jar I select the second option (*oracle.jdbc.driver.OracleDriver*) but with this option I need to specity the connection to use OCI instead of the desired thin driver.
I hope you'll understand and help me somehow
Edited by: KILE on Oct 10, 2008 2:26 AM -
Netbeans 551: Include all libs in project jar file. Possible?
Is it possible to manually, or automaticly, include the /dist/lib directory into my "GonioLabt,jar" to make it more 'stand alone', file wise.
Netbeans generates this dist/README.TXT
========================
BUILD OUTPUT DESCRIPTION
========================
When you build an Java application project that has a main class, the IDE
automatically copies all of the JAR
files on the projects classpath to your projects dist/lib folder. The IDE
also adds each of the JAR files to the Class-Path element in the application
JAR files manifest file (MANIFEST.MF).
To run the project from the command line, go to the dist folder and
type the following:
java -jar "GonioLab.jar"
To distribute this project, zip up the dist folder (including the lib folder)
and distribute the ZIP file.
Notes:
* If two JAR files on the project classpath have the same name, only the first
JAR file is copied to the lib folder.
* If the classpath contains a folder of classes or resources, none of the
classpath elements are copied to the dist folder.
* If a library on the projects classpath also has a Class-Path element
specified in the manifest,the content of the Class-Path element has to be on
the projects runtime path.
* To set a main class in a standard Java project, right-click the project node
in the Projects window and choose Properties. Then click Run and enter the
class name in the Main Class field. Alternatively, you can manually type the
class name in the manifest Main-Class element.Yes it is possible. The same question has been
killing me all day. Here is how I did it.
(I'm on Mac OS 10.4, but this should work anywhere)
Netbeans produces the following:
dist/myJar.jar
dist/lib/swing-layout-1.0.jar
I would prefer to have only:
dist/myJar.jar
But, as you know, myJar.jar requires the class files
stored in swing-layout-1.0.jar. I unpacked the jar
files and examined the manifest files. Here is how to
unpack and repack the jar files into a single jar
file:
First, I renamed myJar.jar to myJar.zip and let OS X
unarchive the jar for me. I did the same for
swing-layout-1.0.jar.
I then dropped the MANIFEST.MF file from
MyJar/META-INF/ into a new folder on my harddrive
Then, I dropped the package (its a folder full of
class files) from MyJar/ into the same new folder on
my harddrive.
At this point, the new folder contains:
/newFolder/MANIFEST.MF
/newFolder/myPackage/
Then, I grabbed /dist/lib/swing-layout-1.0/org/ and
dropped that into the new folder.
We now have in the new folder:
/newFolder/MANIFEST.MF
/newFolder/myPackage/
/newFolder/org/
Almost done:
Open the MANIFEST.MF file with a text editor. Mine
looked like this:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.5.0_07-87 ("Apple Computer, Inc.")
Main-Class: ohm.GUI
Class-Path: lib/swing-layout-1.0.jar
X-COMMENT: Main-Class will be added automatically by
build
I replaced the ENTIRE contents of the file with
this:
Manifest-Version: 1.0
Main-Class: myPackage/Main
Where 'myPackage' is the folder containing my class
files, and 'Main' is the class containing the
'main(String[] args) method.
Save the file and we're ready to repack the archive.
Open the command line (in OS X this is the Terminal)
I assume the syntax is the same in windoze; Navigate
to the new folder you created.
In OSX: cd /newFolder
in windoze: cd \newFolder
Then use java's jar command:
jar cmf MANIFEST.MF MyJar.jar *
What this does:
jar is the command. cmf are flags: the 'c' is for
creating a new jar archive, the 'm' is to specify a
premade manifest file, the 'f' tells jar to write the
results to a file. MyJar.jar is the name you have
chosen for the resulting .jar file. the '*' is a
wildcard character that tells jar to put every file
in the present working directory into the new .jar
Thats it! This produced myJar.jar which worked fine
by itself, as it included all the classes from
swing-layout-1.0.jar. It would be a trivial matter to
write a shell script to do all this for you, unless
of course you use something silly like windows, in
which case you'll have to write a batch file or use
python or something. Good luck, I hope this saves
others time, drop me a e-mail if this was at all
confusing! [email protected]
You should be aware that doing this may well violate the licensing terms for third-party libraries
By the way, what's silly about using Windows? Are you saying you don't develop for Windows because it's "silly"? -
Netbeans 6.1 C++ / SunStudio12 compiler / Solaris 10 - can I use GDB?
Hello,
My team dev stack is Solaris 10 and compilers that come with SunStudio12 (latest patches installed). We have been evaluating Netbeans 6.1 and it runs really nice. We like features, we like performance.
Now, can we use DBX in Netbean6.1 (C++ module) or even better, can we use GDB to debug binaries made with SS12 compiler?
I was looking for an answer on the forum but I'm confused. Can sb clarify this for me?
Thanks a lot!
Regards,
Przemyslaw Owczarek
Programmer / Analyst
Sabre Airline Products & ServicesSome facts, not in any particular order.
- A version of sunstudio which runs on NB 6.0 has been available since Feb.
See the sticky articles at the beginning of this forum.
- NB 6.1 C++ pack only works with gdb.
- You can try gdb with sunstudio12 compilers but it's unlikely to work
well since debuggers and compilers work best when used as a matched pair.
- A sunstudio based on NB6.1 will be available sometime in the early summer. -
Installing Netbeans on RedHat Enterprise 5 Linux
Hello,
After installing both the jre-6u2 and jdk-6u2 RPMs I have had no problems getting netbeans to work...
However what caused me to stay up rather late trying to get this thing installed originally was the fact that the installer asks specifically for the location of the j2se sdk location (not the normal jdk) but when the path to that sdk is given it says that it is not a compatible sdk. I doubt that this is a spelling mistake on the installer but I am confused to why the j2se-sdk is not needed.
If anyone can clear this up for me, I would be greatful.
Regards,
KarstenHello,
After installing both the jre-6u2 and jdk-6u2 RPMs I have had no problems getting netbeans to work...
However what caused me to stay up rather late trying to get this thing installed originally was the fact that the installer asks specifically for the location of the j2se sdk location (not the normal jdk) but when the path to that sdk is given it says that it is not a compatible sdk. I doubt that this is a spelling mistake on the installer but I am confused to why the j2se-sdk is not needed.
If anyone can clear this up for me, I would be greatful.
Regards,
Karsten -
File connection problem + NetBeans
Hi all,
I am working on the FileBrowser application. My IDE is NetBeans. Can anybody tell me where i can find the fileSystem of the Emulator.
I checked in the C:\Documents and Settings\Lakshman\j2mewtk\2.5.2\appdb\DefaultColorPhone\filesystem
and also the folder in the program files.
I have not the found the folder names "root1/", but in the emulator it is showing the root1/. Any body had any idea about that. I am really confused.
My intention is to create the folders and view the folder contents say images, text files or anything.
Can somebody please explain about the file connection api. or else give me the link which can explain how to create folders in netbeans IDE and also able access them
Thanks
lakshmanYou're looking in the right place. Netbeans gives you the folder in the console when the emulator starts eg:
Running with storage root C:\Documents and Settings\Owner\j2mewtk\2.5.2\appdb\temp.DefaultColorPhone245
The folder is temporary and as soon as you close the emulator the folder is deleted which may be why you can't find it. When you start the emulator again it will use a different number so next time the folder will end in 246. -
Netbeans 6.1 JavaFX build error
Env: Netbeans 6.1, JavaFX, Linux, Java(TM) SE Runtime Environment 1.6.0_06-b02
Hi,
The error below is displayed building the "Practical Guide to JavaFX " project (CrudFX)
http://molgav.nn.ru/index.php?view=article&catid=38%3Aexample&id=229%3Apractical-guide-to-javafx&option=com_content&Itemid=56
/home/dkennedy/NetBeansProjects/CRUDfx/src/crudfx/DataGrid.fx:13: Sorry, I was trying to understand the module contents but I got confused when I saw 'DataGrid' which is an identifier.
operation DataGrid.createView():<<javax.swing.JComponent>>
Any help/suggestions would be greatly appreciated
Thanks
Dave
DataGrid.fx ===================================================================
package crudfx;
import javafx.ui.*;
import java.lang.*;
import javafx.ui.canvas.*;
import javafx.ui.filter.*;
import crudfx.*;
import javax.swing.JTable;
class DataGrid extends Table
operation DataGrid.createView():<<javax.swing.JComponent>>
var jComponent=super.createView();
Tools.adjustTableHeader(jComponent);
return jComponent;
operation DataGrid.createComponent():<<javax.swing.JComponent>>
var jComponent=super.createComponent();
Tools.adjustVerticalScrollBar(jComponent);
return jComponent;
log =========================================================================
Error in syntactic analysis in DataGrid.fx:
java.lang.NullPointerException
at com.sun.tools.javafx.antlr.v3Walker.module(v3Walker.java:294)
at com.sun.tools.javafx.antlr.JavafxSyntacticAnalysis.parse(JavafxSyntacticAnalysis.java:82)
at com.sun.tools.javafx.main.JavafxCompiler.parse(JavafxCompiler.java:478)
at com.sun.tools.javafx.main.JavafxCompiler.parse(JavafxCompiler.java:519)
at com.sun.tools.javafx.main.JavafxCompiler.parseFiles(JavafxCompiler.java:826)
at com.sun.tools.javafx.api.JavafxcTaskImpl.parse(JavafxcTaskImpl.java:196)
at org.netbeans.api.javafx.source.JavaFXSource.moveToPhase(JavaFXSource.java:221)
at org.netbeans.api.javafx.source.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:129)
at org.netbeans.api.javafx.source.CompilationController.toPhase(CompilationController.java:72)
at org.netbeans.modules.javafx.source.scheduler.CompilationJob.run(CompilationJob.java:186)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
============================================================================The CrudFX code uses the old syntax.
The JavaFX Script Preview version uses new one: [http://java.sun.com/javafx/reference|http://java.sun.com/javafx/reference]
The exception means that a project contains empty file:
=========================================================================
Error in syntactic analysis in DataGrid.fx:
java.lang.NullPointerException
at com.sun.tools.javafx.antlr.v3Walker.module(v3Walker.java:294)
=========================================================================
Maybe you are looking for
-
We are creating images through ghost server to clone onto several laptops and one of the features we need to have configured is the Web of Trust extension in Firefox. I have configured a local account on the machine and set up Web of Trust and then c
-
Can LiveCycle do all of what I need?
I wish to build a website where (only) authorized persons submit forms electronically via a Windows PC. The information in these forms must then be automatically placed into a spreadsheet, and viewed on our website, without additional webmaster inte
-
Fonts not appearing properly at runtime.
Hi Experts, I am using Adobe Ineractive Forms to generate a certificate.The issue is that irrespective of any font i use in the designer , it <b>only shows Arial font</b> at runtime. It shows the proper font in the PDF preview tab of designer,but at
-
Temperature discrepancy MSI 785GM-E65
Hi Everyone. I would like to see if someone can help me with this issue. In my new system when reading temperatures the temp from the motherboard reading is always around 15C degrees higher than the reading that I get from the AMD cores. For instance
-
Where to find list of functions such as HR_READ_INFOTYPE
Hi, I just started learning SAP HR Payroll and going thru some entries in thr forum for insight. The question I have is; Where to find list of functions such as HR_READ_INFOTYPE, HR_INFOTYPE_GETDETAIL etc in SAP documentation? Thanks, Thaman