Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8791283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:49:16+00:00 2026-06-13T22:49:16+00:00

I am building a Java application using JPA2 and Hibernate 4.0 I have a

  • 0

I am building a Java application using JPA2 and Hibernate 4.0
I have a XML file describing the complex data types that the APIs take as input or give as output. Sample below. I want to use this XML to generate java classes (or a jar) that I can use in my APIs as parameters and return types. Also I want to put in this jar in the SpringMVC powered front end so that I may use these types to attach data to call my APIs with. I can change the format of the XML if needed.
What tool(s) can I use for this. I don’t write this XML to be mentioned in my APIs or any other code, the tool should let me create stubs and then forget about the XML.

  <documentation target="loginValidation" >
    Returns the result of login validation.
    Will return LoginValidationResults object if login correct, else a null object.
  </documentation>  
  <operation name="loginValidation">
    <input target="LoginValidationArgs" />
    <output target="LoginValidationResults" />
  </operation>

  <structure name="LoginValidationArgs">
    <member name="userName" target="String" />
    <member name="hashedPassword" target="String" />
    <member name="schoolID" target="PositiveInteger" />
  </structure>
  <required target="LoginValidationArgs$schoolID" />
  <required target="LoginValidationArgs$userName" />
  <required target="LoginValidationArgs$hashedPassword" />

  <structure name="LoginValidationResults">
    <member name="userID" target="PositiveInteger" />
    <member name="userType" target="String" />
    <member name="userDisplayName" target="String" />
    <member name="schoolID" target="Long" />
  </structure>
  <required target="LoginValidationResults$schoolID" />
  <required target="LoginValidationResults$userID" />
  <required target="LoginValidationResults$userType" />
  <required target="LoginValidationResults$userName" />
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:49:17+00:00Added an answer on June 13, 2026 at 10:49 pm

    Look at my answer to a similar, but not duplicate, question

    The answer is to use Eclipse’s M2T-JET. That’s what it was designed and built for.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a Java SE application that is powered by Hibernate. Mainly many
I'm building a small experimental application using BlazeDS AMF, Java and Hibernate, and I
I have application building using third party apis, j2me apis,application code distributed in various
I'm building a Java application (using Ant with build.xml and build.property files). Now I'd
I am building my first Java application using GWT which must read in data
I'm building a Java application that involves Google Docs API. I'm using the old
I am currently building an application using Tomcat, Spring and JAVA. I am using
I am using Java Script MVC framework for building a Web Application.. Now i
I'm building a Java application that has parts that require daily update. I want
I'm building a large Java application that uses multiple pop-up windows. Some of these

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.