Java Enterprise Edition (JavaEE) is a platform for enterprise computing for Java.

learn more… | top users | synonyms

0
votes
2answers
623 views

1 Interface 2 Implementations and an EJB exception

In my JavaEE project I have an interface like this: @Local public interface DataAccess { ... } And two stateless beans implementing it: @Stateless public class DataAccess_Online implements ...
5
votes
3answers
316 views

How should I go about “overhauling” a large legacy application? [duplicate]

Possible Duplicate: I’ve inherited 200K lines of spaghetti code — what now? For my next project, I've been tasked with "overhauling" a large legacy web application with many parts. It is a ...
3
votes
2answers
630 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 ...
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 ...
1
vote
1answer
462 views

Transition from enterprise-level PHP with Zend Framework to more enterprisey Java EE

I've been seriously considering my career progress and would like to know your opinion on the following: 5 years full-time employment as a software developer / web technologies / best practices MSc ...
1
vote
1answer
483 views

What factors should I consider when logging a (JSF) web-app?

I've recently read the article The Problem with logging and was wondering about my current logging strategy. Usualy I use Log4J in my projects and just have to decide which line/attributes I would ...
-2
votes
2answers
476 views

How can I test database access methods in Java? [closed]

I want to write a test for a method that accesses a database such as following. public class MyClass{ public String getAddress(Int id){ String query = "Select * from Address where ...
1
vote
3answers
5k views

Relationship DAO, Servlet, JSP and POJO

I want to implement a JSP, POJO, DAO and Servlet in my J2EE program. However, I don't fully understand how the relationship between these elements should be. Is the following (MVC) setup the right way ...
3
votes
4answers
2k views

Why JSP over Servlets for view?

Although servlets does the task of sending the HTML code to the client programmers weight JSP over servlets for that. Even a JSP code is compiled into servlet before giving the response to the browser ...
5
votes
4answers
835 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
1answer
3k views

Node.js Or servlets?

I have heard a lot and read about the Javascript server side language i.e Node.js, and saw many comparisons in favor of Node. I don't understand what makes it better or faster, or how it even relates ...
4
votes
1answer
415 views

Resources relating to Java EE and Scala [closed]

Are there any good sites / blogs / books / articles on using Java EE together with Scala? Or indeed articles saying that it should not be done. Many Scala resources talk about using Akka and Lift. ...
3
votes
2answers
438 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
5answers
9k views

How to unit test a jsp file?

I'm developing a Java 6 EE application and I'm testing my jsp code with another one with a testing version of the function calls and code used in the original one but it seems loose and impractical. ...
5
votes
3answers
332 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. ...
0
votes
1answer
207 views

EJB Lifecycle and Relation to WARs

I've been reading up on EJBs (3.x) and believe I understand the basics. This question is a "call for confirmation" that I have interpreted the Java EE docs correctly and that I understand these ...
11
votes
5answers
10k views

Creating Java EE Projects with Maven

I've been developing Java EE web apps with Eclipse for about a year. My employer doesn't use Maven, but the more I read about it, the more convinced I am that Maven + Hudson will be greatly beneficial ...
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 ...
5
votes
1answer
540 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 ...
2
votes
2answers
193 views

Where to start when digging into an existing J2EE codebase?

I work for a company that produces enterprise applications to be used by schools and districts to manage all of their tests and standards data. Their existing application is written in J2EE and is ...
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 ...
2
votes
4answers
341 views

Should OO design, or database design, drive the coding of my @Entity classes?

I have two classes that I want related to each other in an JEE application using JPA2. In an OO world, I would say that a Chatroom has an attribute List messages. In the relational world composition ...
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 ...
0
votes
2answers
816 views

JEE frameworks, a road map to learn? and should I learn them?

Background Information I have been into programming since past 1 years professionally, my day to day work includes writing BIRT reports, designing and validating forms using JEE (struts/spring, ...
1
vote
1answer
638 views

Best way of Javascript web development in Netbeans (Hot deployment)

I'm beginning Javascript development and as a beginner in JavaScript I make a lot of mistakes. The way I'm developing is very counter-productive because every mistake I fix I have to shutdown ...
2
votes
1answer
203 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
870 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 & ...
4
votes
2answers
347 views

Choosing right technology for messaging system

I'm working on a messaging system for two years now, the system was written by a long ago gone team and involves emails and document processing. The basic process is: Receive an email, parse it, ...
2
votes
1answer
82 views

Collaboratively working with a WebDesigner - Best practices

I'm a programmer. I have always worked by myself. I usually do only back-end, but now I have a webproject that I want to hand the "View" part to a designer to make it beautiful. What I'm looking for ...
5
votes
3answers
1k views

Are there any “enterprise ready” functional programming languages? [closed]

By "enterprise ready" I am referring to availability of tools: dependency management, build management, message servers, databases, application platforms and servers, and are secure and scale well? ...
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
2answers
603 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
3answers
342 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 ...
4
votes
1answer
843 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
2answers
854 views

What kind of test should be given to Java EE programmers?

I'm looking to hire developers and I wish to test them. I have been especially told by my boss that we should have programmers on board that can consult on banking sector software and I'm to come up ...
0
votes
1answer
427 views

What are some good JAIN SLEE related books?

Could you recommend some good reading materials related to JAIN SLEE? Or Java in Telecommunications in general.
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 ...
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 ...
3
votes
2answers
685 views

web services, J2EE, spring, DB integration project ideas- maybe data mining related?

I am a graduate CS student (Data mining and machine learning) and have a good exposure to core JAVA (>3 years). I have read up a bunch of stuff on Design patterns J2EE Web services( soap and rest) ...
0
votes
2answers
771 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
2answers
167 views

Where can I find a quick overview of Enterprise Java Beans?

I'm a fresh graduate, and I'm about to interview in two days and things are tight. I am well versed with Java EE Servlet and JSP technology, but never really used EJBs. Is learning about EJBs really ...
3
votes
2answers
249 views

How do you approach a new project where the code has already been written? [duplicate]

Possible Duplicate: How do you dive into large code bases? I'm about to take on maintenance and enhancements of a fairly large and complex Java EE project with a Javascript front end. I'm ...
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 ...
0
votes
2answers
97 views

How to gradually improve on an old IBM Host C++ framework

Imagine a C++ framework as a business layer, but with controlling logic as well. E.g. user rights, state of the webflow etc. With some plain C code to access DB2. The whole framework is host based. We ...
2
votes
1answer
730 views

What version control system is typically used in Java Enterprise development?

There are many vcs available. Which of them are typically used in JavaEE world?
2
votes
2answers
332 views

When designing data models for JPA, what's the best way to make use of polymorphism?

I've been asked to support a Java EE application. The data model was poorly-designed and will not support several necessary use cases; so I'm developing a new data model using EclipseLink (the old one ...
9
votes
2answers
947 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 ...
2
votes
1answer
216 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
3answers
185 views

Using regular Java classes in Java web apps

I'm work on a simple blogging web application using Java and MySQL as the database backend. I'm implementing the whole application using plain HTML and servlets. I'm using a Java class with static ...