Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Dupont Girard

Greenhorn
+ Follow
since Mar 21, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dupont Girard

i tried many things, but none of them works.

Here are my code as you you told me and as i read on the website:





it gives me the same exception

Many thanks
10 years ago
Thank you for your quick response.
Still get the same error, here is my new code:



.policy file:
10 years ago
Hello,
When i run the following java code:

I get this exception:

Here is my file .policy:

But it works fine if i remove the codeBase and set the full path as follow:

Is there something wrong with the codeBase ?
Please help me !
10 years ago
I changed my post. Please let me know if something is not clear.
Thanks
10 years ago
Hello,

I succeed to include ojdbc14_g.jar to my project, but i am asked to import OracleConnectionPoolDataSource wich is included in ojdbc14_g.jar

Here is my code:



But when it runs, it gives me this exception:



Because the following import can't be done:

import oracle.jdbc.pool.OracleConnectionPoolDataSource;

How can i resolve this please
10 years ago
Hello, here is my code:



Build.xml:

binding.xml:



And finnaly



i add "xjc:simple" in order to have @XMLRootElement, but an exception is raised: javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.example.org/Player"

It didn't work correctly because i got this:@XmlRootElement(name = "Player", namespace = "http://www.example.org/Player")

Instead of just: @XmlRootElement(name = "Player")

How can i remove this "namespace" ?

Thanks
Hello,

I am trying to generate beans classes using JAXB and Ant

This is my code:


It works well but i want to add "Extension" and make the generated classes implements serializable.

Thanks for your help
10 years ago
Hello,

As it's written on the title, i want to add a specific jar from another project to a specific folder in my project
I learnt about path or classpath but i didn't succeed

Can someone help by giving a good example of this ?
10 years ago
Hello,
This is my code:



But when i run it, it gives me a padding (in the top and down) of the JSeparator.
I'm looking how can i remove this padding

Can someone help me ?
11 years ago
Thanks Paul for replying. is it not recommended ?
Hello,

I struggle to run this following code:



This is the exception raised:


My xml schema is correctly built and works perfectly for 1 marshal but not for 2 marshals followed

Someone Have an idea how to resolve this ?
Hi everybody
i am looking how can i parse any object to XML feed using JAXB, then parse this feed to an array of byte

Need your help
Hi

This is my Ant code:



It works well, but the generated EJB does not contains "@XmlRootElement" and does not implements Serializable.

Someone Have an idea how can i get them
11 years ago
Hi, i am encountering some difficulties to set a RMI communication, this is my code:

Server:


Client:



I run rmic thanks to my build.xml "Ant"


it gives Stub and Skeleton, but when i execute this i get this error on my client:



I note that dao.DAOInt is located on my server !


Can someone help me Please

11 years ago
Thanks Chris of your answer. You're right, i just put a join() on my thread and it works
11 years ago