Is there a tool to generate web pages based on Java beans?
Is there a tool that will take you java beans (pojos) and automatically make them a form for a webpage?
To be more clear I have a bunch of Jaxb objects that I want to be able to display in a form without having to code a bunch of html. Is there a tool that will read the jaxb objects and generate the editable form for me? Also, this needs to run on a glassfish server...
Asked by: Vivian269 | Posted: 28-01-2022
Answer 1
If I interpret your question quite literally, then you should take a look at the ROMA framework: http://www.romaframework.org/. It tries to take POJOs (beans) which are annotated and automatically generate user interfaces.
Answered by: Roland844 | Posted: 01-03-2022Answer 2
Have a look at Grails, in particular Scaffolding. It's a Groovy framework, but your POJOs will plug straight in.
Answered by: Ada142 | Posted: 01-03-2022Answer 3
I presume that the question was intended to be
'How do I render a HTML form that represents all of the fields for a given bean - this will save me from having to manually typing the HTML'
Theoretically, this is possible through reflection, but it's always tricky to know which fields should be included, so the results would not always be what you intended.
Can you confirm the motives behind the question?
Answered by: Nicole681 | Posted: 01-03-2022Similar questions
How to generate multi workers and bind them to non-web Java applications on Heroku
I tried this tutorial to generate two workers on Heroku Server.
But based on this example I just have one worker run at the same time. Is it possible to generate 2 workers that run 2 difference jobs when the application starts?
I already tried to scale the workers by using:heroku ps:scale worker=2...
java - What is a good toolkit for developing Blackberry applications?
Looking for a toolkit/SDK for general Blackberry development or application toolkits. Anything like an MVC framework?
web applications - Abstract Java Grid
I'm looking for an abstract representation of a grid in Java (grid as in that thing with columns and rows of data). Do such things exist? I want to be able to sort, filter, keep track of rows, set column properties etc. I'll then be realising the grid on the web.
To be clear: I've already decided on the ultimate view technology (client side). The thing I'm looking for will hold all the records and offer them up...
apache flex - Client Java vs (Adobe) Flash for web applications, what to choose and when
A few years ago client Java was unsuitable for web development because a remarkable part of web users did not have Java installed. ( I don't remember exact numbers, more than 10%).
Now I see the Google Analytics stats for a big site and it tells that >98% of users have Java installed.
Is these stats very biased by Javascript usage? As I understand Google Analytics measure only users that has Javascript.
java - What would be the best way to match up two object instances between two different applications in a J2EE server?
I have a J2ee application where I basically want two objects, created by two separate servlets to communicate directly and I need these intances to be stable, i.e. to "know" each other during the session.
The sequence is roughly:
Client sends a request to Servlet #1, which creates object A
Client sends a second request (after the first returns) to servlet #2 which creates object B.
...
What do I need to write Java-based web applications and test them on my personal computer?
I currently have Apache HTTP Server, but I'm guessing I'll need Tomcat (and then have to configure it in a way that makes it not open to the public), a Java JDK (which I already have, but should probably update), and an IDE (I have Eclipse). But what else should I have or know before starting?
java - How does IIS compare in terms of performance and scalability to weblogic and websphere for enterprise web applications?
Closed. This question is opinion-based. It is not c...
c# - IPC between .NET and Java client applications
I must get two different client application talk without any kind of broker or server.
What is the best method for IPC beween two process, Java and .NET?
It must able to be work in multi-user termainl server, so no socket please.
I wish that it is lightweight and simple, something plug and run, so no RMI/WS please.
I'm now thinking about JNI to access Mutex and Named pipes, am I going to a right direction?
Is Java suitable for "Web 2.0" applications?
Closed. This question is opinion-based. It is not c...
How to develop multi-touch applications in Java?
Anticipating the day when multi-touch interfaces become more pervasive, are there libraries in Java that can be used for developing touch applications? I'm looking for interfaces similar to MouseListener / MouseMotionListener / MouseWheelListener.
web applications - What is a good embeddable Java LDAP server?
I'm working on a Java web application that integrates with a few other external applications that are deployed along with it. Authentication information must be synchronized across everything and the other applications want to authenticate against LDAP. The application will be deployed in environments where there will be no other LDAP server for everything to use; I have to provide it. My solution so far has been to use
Still can't find your answer? Check out these amazing Java communities for help...
Java Reddit Community | Java Help Reddit Community | Dev.to Java Community | Java Discord | Java Programmers (Facebook) | Java developers (Facebook)