is it possible to auto-generate annotated POJO from a table
I wonder is it possible or is there a tool to generate annotated POJOs from a table.To make it clear,for example,Person table has fields like ,id,name,surname etc and i wanna to generate a POJO named Person with mappings made with annotations.
What pattern to use for this ‘constructor’? Decorator vs Factory?
I’m developing a program to generate LARP characters in java and I’ve hit a snag.
Java BufferedReader vs Separate Producer consumer thread
I have a very big file delimited by some sequence of characters ‘*L*I*N*E’. The file will be of the order of 250G. And each line comes around 600bytes to 1000 bytes. I will be performing the following operations on the file,
Refactoring options – multiple methods in same class or into separate classes
we have some API which will be called either by client A, B, C or D
Parsing excel data in Java before saving it to database [closed]
Closed 8 years ago.
event source calls methods in a interface
I am using Java.
Programming Language Parser (in Java) – What would be a better design alternative for a special case?
Background I’m currently designing my own programming language as a research project. I have most of the grammar done and written down as context-free grammar, and it should be working as is. – Now I’m working on the actual compiler that should translate the language into x86 binary assembly code, more specifically, I am working […]
Reasons NOT to use JSF [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Modern implementation of Spring Remoting or EJB3
Im working on a “what is possible with the latest and greatest” prototype. One major issue that has been a big thorn in the side of myself and my AS/400 admin is when the existing system spins up, there are 35 individual applications, that each connect to 8 databases, and run a connection pool of 5 connections per. for you math wizards out there, thats 1400 individual database connections to the server on startup and over the course of a typical day maybe 40 are ever used.
How do CDNs protect failover sites from DDoS attacks?
I’m in the design process for a Java web app that I will probably end up deploying to Google App Engine (GAE). The nice thing about GAE is that I really don’t have to worry about fortifying my app from the dreaded DDoS attack – I just specify a “billing ceiling”, and if my traffic peaks up to this ceiling (DDoS or otherwise), GAE will just shut my app down. In other words, GAE will essentially scale to any amount until you simply can’t afford to keep the app running any longer.