tanu dua

Ranch Hand
+ Follow
since Apr 05, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by tanu dua

Hi,

Is there any tool which I can use to test FTPS code. I know there is a tool to unit test ftp

http://mockftpserver.sourceforge.net/fakeftpserver-getting-started.html.

But I need to unit test ftps as we don't have ftps server available.

Thanks,
Tanu
13 years ago
But that just I want to avoid it though I am not sure how. To give you more context our project currently is on spring2.2.5 version and we don't use maven . We need to upgrade now our version from spring2.2.5 to spring 3.0.5.RELEASE . I searched through the net to know the dependency jars which this spring version would depen upon and could not find that . Instead I got the following thread in spring forum which says that you should use maven to get the dependent jars.

http://forum.springsource.org/showthread.php?t=103862

Now , since we can't upgrade to maven framework right away , I though to get the dependency jars by referring spring artifact assuming that all the dependencies jars would also come with it . But the optional one is left out.

Following is the link I refer to refer the spring artifacts in my pom.xml

http://blog.springsource.com/2009/12/02/obtaining-spring-3-artifacts-with-maven/

Is there any way to get them also else I need to go into each pom.xml of spring and copy the optional dependency from there and paste it into mine.

Thanks
Tanu

13 years ago
Hi,

I need to make a war file of my project who is dependent on the spring . I have referred the dependency as

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${org.springframework.version}</version>
</dependency>

The outcome i get is that in the lib folder of war file , I get two jars commons-logging.jar and spring-core.jar . I saw the pom.xml of spring-core module and it has also the dependency of commons-collections but that jar is not imported and included in my war file as <optional>true</optional> has bee set in spring-core pom.xml .

Is there any way to include all the jars whether optional , provided , test etc while building war
13 years ago
Hi,

We have the Web Framework (based on Struts,Spring and Ibatis) on which multiple applications are built on.We have the requirement now to deploy the different modules as plugins.

We have evaluated few Java Plugin Frameworks and found that JPF is a good framework to provide plugin framework to the application.However, the example that is provided is Swing based.

Has anyone worked JPF in Web based applications (based on Struts,Spring Ibatis) or any other Plugin framework which we can use for Web applications

Thanks.
Hi,

We have the old project running up which is in enhancement and support phase and we have rolled out running checkstyle reports on the project . Since, it is an old project we have got a lot of checkstyle errors and warnings . Now we ensure that everytime we do new coding , we should not introduce new checkstyle errors and warnings .

For this release we have not only created new files but only modified the existing ones . So once we generated checkstyle report we could not segregate the old checkstyle issues with the new one and to manually get it is not feasible.

So is there any way to compare two checkstyle reports so that we can know how many checkstyle errors and warnings we have put in.

In J2EE Web Services book , I have just read that URI may or may not point to an actual document or resource . If it could not point to the actual document or resource then how XML document be validated ?

If I have used URL as URI and my internet is down , how it will be able to access the schema and validate XML document.

Thanks,
Tanu
My Bad ! I have not attached the correct code.Here is the correct code:




I have set the entity resolver for XmlReader object and on unmarshalling all the elements are binded but attributes did not get bind.

I have seen this link while serching on teh net . The other person also having this problem , may be we both are doing something wrong or there is a defect in the Jaxb.

Jaxb Entity Resolver
Hi ,

I am using JAXB to unmarshall XML to java using DTD . Since , DTD is on my local machine I have to use EntityResolver as follows :



The above code populates the Java objects corresponding to elements as desired but for attributes it does not bind.I have also read that there is an existing defect in JAXB that does not bind attributes with Java Objects if EntityResolver is used.

Is there any workaround please as I am stuck on that ?
[ December 04, 2008: Message edited by: tanu dua ]
My Bad , Got posted the incomplete question . So let me complete .

What I want is the XSD/DTD for the above XML that ensures that the position attribute vale is always unique i.e. if an XML <field> has the position as 1 no other <field> should have that value.

Can we ensure this using XSD/DTD.

Thanks
Hi ,

I am about to write DTD/XSD for the XML as follows :

Hi all,

I am ramping up the JAXB for my new project ? Can anyone please share the books and online resources that I should refer to know the ins and outs of JAXB.

Thanks
16 years ago
Thanks Phil.

I will take forward your advice and resources to prepare for my certification.

Tanu
[ January 03, 2008: Message edited by: tanu dua ]
This is what I have decided after reading all your helpful advices.

As I dont have any project at my hand for now in my present job , I thought to give the SCEA as I am done with all the Sun Java Certifications except for Web Services.But by looking the SCEA objectives I think I still have a long way to actually start preparing for the exam.

As most of you pointed out that you should be backed with some good experience in design , which I think for me , is that its gradually devloping and i will try to align the SCEA objectives with my future projects .

So in short , I have decided that I will surely give the exam but will take some time to really go for it and before that I will polish my skills like EJB,UML,Design etc.

Thanks to all of you.Keep Responding

Cheers,
Tanu
Thanks.

As far as I know there are not much differences in the SCEA5.0 and SCEA1.4 except the EJB and JSF concepts . So , can I make Cades book as reference book and study the EJB3.0 and JSF concepts separaetly or do we have any separate book for SCEA5.0

-Tanu
But do we have any book which I can make as a base to start with and studying books on specific subjects around that ?

Thanks
Tanu