Tagged Questions
47
votes
1answer
6k views
What are these different Java versions for?
I am just about to start my Java journey, ( I've already dabbled in C++) but I am getting really confused about all the different versions of Java:
JavaSE
JavaEE
JavaFX
etc.
Can someone explain ...
31
votes
5answers
7k views
Is object pooling a deprecated technique?
I am very familiar with the concept of object pooling and I always try to use it as much as possible.
Additionally I always thought that object pooling is the standard norm as I have observed that ...
22
votes
2answers
16k views
Selecting a JAX-RS implementation for a new project
I'm starting a new Java project which will require a RESTful API. It will be a SaaS business application serving mobile clients.
I have developed one project with Java EE 6, but I'm not very familiar ...
10
votes
4answers
1k views
Is your company thinking of transitioning from java to another technology? [closed]
As every Java developer knows, Oracle bought Sun and the future of java looks quite unclear, specially since Oracle wants to monetize the JVM. Java as a language has also been stale in the last few ...
8
votes
2answers
937 views
What are the best things to put in my portfoilo to demonstrate my Java skills and make me more marketable?
I have studied Java for quite a while and written a lot of small SE programs. I have a good grasp on the language at this stage but unfortunately I do not work in the area of Java programming (as of ...
8
votes
1answer
626 views
Why isn't reflection on the SCJP / OCJP?
I read through Kathy Sierra's SCJP study guide and I will read it again more throughly to improve myself as a Java programmer and be able to take the certification either Java 6 or wait for the Java 7 ...
6
votes
4answers
1k views
Why do almost all Java jobs (postings and from recruiters) say J2EE rather than the newer JEE versions?
I'm still fairly new to Java but have definite comfort now working within the framework I am used to which would mainly be focused on Spring, Hibernate and JEE 6. It seems like every time I talk to a ...
6
votes
1answer
1k views
exact answer for “what is j2ee?” - job interview
I'd like to ask if someone of you knows the exact meaning of JEE.
That's because a collegue of mine was asked this question in a job interview, and was "unable to answer properly"... to speak with ...
6
votes
3answers
234 views
How will writing the transaction part in Java benefit the security of the application, when all other parts are being written in PHP?
A friend of mine while working on a PHP application asked me to write one part of the application in Java. The part that involved transactions. He said it will be better to write this portion in Java. ...
5
votes
3answers
327 views
When, how and why should one upgrade (Java) frameworks?
Short summary as introduction:
We are a small Java web development team, creating applications using various frameworks and libraries like JSF, Hibernate, Seam, all together deployed in JBoss AS.
...
5
votes
4answers
4k views
Is there a recommended order to take the Oracle Java EE certification exams?
I recently passed the Oracle Certified Professional, Java SE 6 Programmer examination. Now, my boss would like me to take "the next step" to broaden my competence. I tried to explain that there is no ...
5
votes
4answers
831 views
Java but no JEE experience
I have quite extensive Java experience (many years of Swing, desktop apps, gigantic applets), but have done very little JEE - only one single gig for 9 months, but that was very narrow work where I ...
5
votes
2answers
209 views
Is it fine to use logs in the Helper Methods?
I have been doubting for a long time whether or not to have a logger in methods (usually helper methods) like the one below.
Whether we can print it in the method or print the response where the ...
5
votes
1answer
537 views
How to move to Java enterprise development after Python and Ruby?
I used to develop in Django/Python and Rails/Ruby (and before that C/C++ and C#), and I'm now at a job where we do enterprise Java development (Spring, Hibernate, RESTEasy, Maven, etc.) for web ...
4
votes
6answers
7k views
How to learn Java web application development? [closed]
I’m planning on making a Java web application using Amazon Web Services Elastic Beanstalk. AWS Elastic Beanstalk basically provides PaaS on top of AWS’s cloud computing resources.
The problem I’m ...
4
votes
3answers
4k views
Heavy use of static methods in a Java EE web application?
Generally I am asking if this is a norm. The application architecture includes spring and the zk framework. I personally can't help but think this introduces a number of problems. I mean...this is a ...
4
votes
2answers
274 views
JavaEE server experience matters for a developer?
Lately I am seeing quite a few application development job ads asking for experience with this or that Java EE server. I can understand this if it is for a server administrator, however I find it ...
4
votes
1answer
826 views
Programming in academic environment vs industry environment [duplicate]
Possible Duplicate:
Differences between programming in school vs programming in industry?
This is a general discussion about programming in the industry environment.
The background story is ...
4
votes
1answer
254 views
Shall I separate the admin part from the rest of the war
I built a web-applicationg using struts2. Then I built a small admin interface in the same war.
With time the webapp grew and so the admin-interface. Now, I'm thinking to separate the admin interface ...
4
votes
1answer
501 views
Good design for delegates in a service oriented architecture
My problem is quite complex to explain and my English is not excellent, so I hope you can understand my question.
In a service oriented architecture there are some modules that own data used by all ...
3
votes
3answers
258 views
If I unite many web apps into one, will I save resources?
I'm comparing 2 different approaches of J2EE application architecture:
Divide independent parts as modules of one big web app.
Divide independent parts as different web apps running on same server.
...
3
votes
2answers
3k views
Customer wants to modify the .properties files packaged in our WAR file
I have a customer who wants the ability to modify the .properties files packaged in the web applications WAR file so that they have the control to modify environments at settings. They will be ...
3
votes
5answers
6k views
Java web application folder structure
As a beginner to J2EE, I have recently started developing my own project from scratch using the Core of J2EE : Servlets & Jsps.
I could not evaluate whether my project folder structure is right ...
3
votes
2answers
432 views
Is it possible to migrate struts/spring based application to GWT?
I am using the combination of spring, spring-security, struts and iBatis in my application. Now I am looking to migrate the struts UI to GWT.
The new combination must be spring, spring-security, GWT ...
3
votes
2answers
606 views
How to remove duplicate exception block code
I have good number of Service and DAO classes which has the same set of 30 line exception code block which gets repeated and it shows up in Code Duplication report.
The approach which i can think of ...
3
votes
1answer
449 views
Web app outgrowing current framework
I have quite a bit of experience with using Django for websites and so when I started a new project I naturally chose to use Django for it. Everything went well for a time but now the application is ...
3
votes
2answers
270 views
java classes and database queries
Can someone please explain the best way to solve this problem.
Suppose I have three classes
Person
Venue
Vehicle
I have a DAO method that needs to return some or all of these attributes from each ...
2
votes
3answers
2k views
What is meant by 4 GL?
I came across the term 4GL(generation language) in reading about Oracle ADF Busniess components . I want to know what exactly is 4GL ?
This is the actual quote from the book Oracle Fusion Guide:
...
2
votes
1answer
202 views
Java API Deprecations
Who decides the API deprecations the JEE specification or the vendor of JDK like Sun, IBM?
2
votes
4answers
2k views
Advice for transitioning into a Java developer position from doing other types of web development?
I've been doing web programming and currently work at a company working with mainly PHP and Javascript. For a little while now I've been becoming more and more frustrated with the shortcomings of this ...
2
votes
6answers
853 views
Enterprise scalable vs internet scalable, what is the meaning & differences?
While reading about Java EE applications, somewhere I have seen people saying they're enterprise scalable, I am confused as to what that really mean?
Are Java web applications mainly written & ...
2
votes
1answer
449 views
JUnitEE vs JUnit
I know what unit testing is in general and what JUnit is in particular. But here I see that there is a project called JUnitEE which seems to me to be a wrapper over JUnit. So I would like to better ...
2
votes
1answer
210 views
How to get started in coding for JBoss
I have an idea on how to revamp our internal application, after having accessed the needs of the users, addressing thier current issues, and the like.
But I am not a coder. My last application I ...
2
votes
2answers
201 views
J2EE - Session swap
Application server - JBoss AS 7.1.1
JDK6
J2EE 1.3
My web application is more than 10 years old and facing this session swap problem in my portal. Noticed
that swap happens mostly when many ...
1
vote
5answers
9k views
Java SE and Java EE? [duplicate]
I was now talking with some people and they told me that if i was intrested in a job in the future for Java programming i should not spend too much time only learning Java SE i should spend time ...
1
vote
2answers
10k views
What is the difference between Enterprise Java vs Core Java? [duplicate]
I have some experience in programming in Java but wondering if someone could explain what is the difference between Enterprise Java vs Core Java?
Someone asked me a question on whether I use ...
1
vote
1answer
2k views
High-Load Java Server for Multiplayer
I am making a multiplayer game. Now I am trying to choose the technology to connect the android devices to the server. The clients run on Android, and the game is MMORPG. I would like to write the ...
1
vote
4answers
6k views
How to gain Professional Experience in Java/Java EE Development [closed]
I have been seeing opportunities go past me for just 1 reason: not having professional industry experience. I say to many employers that I'm capable of doing the job and show them the work I've done ...
1
vote
1answer
2k views
What is the best way to manage Hibernate sessions in a Struts-1 application?
I am now the owner of a Struts-1 application, and the Hibernate session management is all over the place. I have searched online documentation but have not found a clear explanation of the best way ...
1
vote
1answer
91 views
Implementing an interface from a framework vs simple java interface
This concept is unclear with me.
I have worked on several frameworks for an instance Spring. To implement a feature we always implement some interfaces provided by the framework.
For an instance if ...
1
vote
1answer
350 views
Applying DDD principles in a RESTish web service
I am developing an RESTish web service. I think I got the idea of the difference between aggregation and composition. Aggregation does not enforce lifecycle/scope on the objects it references. ...
1
vote
1answer
348 views
What should be stored in UserContext?
From my general understanding I believe UserContext for a web application is supposed to hold user authentication and authorization (user roles) information.
As part of user roles, there are ...
1
vote
2answers
601 views
Company wants to move its programs to a new framework / concept - what are options?
So there is an insurance company which wants to move long term its proprietorially written software for different insurance products to a new platform / framework / concept / something. One of the ...
0
votes
2answers
1k views
Do Java, J2EE and Java Web get better with time? It still looks problematic to me after months [closed]
I'm a little new to Java Web Development. JSF, JSP, Servlets, Hibernate etc... I have really a good understanding of OOP and C++. I have years of PHP and MySQL web development experience. I also have ...
0
votes
3answers
338 views
Updating Java SE and Java EE knowledge [closed]
I wonder how you guys are updating your tech knowledge on a daily basis. Definitely it will be from internet. But what are those sources?
E.g. I didn't know about the DWR technology but knew if from ...
0
votes
3answers
280 views
Why do APIs generally consist of interfaces? [duplicate]
I am starting out in Java API design and in reading existing code bases, I have found that most APIs consist of interfaces only with their implementations bundled in a different package.
Having read ...
0
votes
2answers
829 views
Migrating web app from php to Java [closed]
Hi I had today my first interview for a position of android developer.In my portfolio I had a php e-commerce application that has a catalog , ajax powered shopping cart , and administrator ...
0
votes
4answers
712 views
Why isn't Java being used for web multimedia applications? [closed]
I've been focusing on multimedia applications and I've noticed that most applications don't use Java in the back end. Instead, I see solutions with PHP/ROR/Python and Flash/Silverlight without any ...
0
votes
2answers
768 views
Getting into JEE
I'm the author of this question from a couple of months ago:
Java but no JEE experience
I thought about just editing this question, because this a bit of a followup to it - but it's actually a ...
0
votes
1answer
363 views
Creating a separate project for JPA entities
Where I work it is a common practice to create a separate for JPA entities and a project for the web application (the WAR). So basically you have (at least) two project for each application - appJPA ...