Questions tagged [java-ee]

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

Filter by
Sorted by
Tagged with
4
votes
4answers
3k 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 ...
9
votes
1answer
12k views

Node.js Or servlets? [closed]

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 ...
2
votes
2answers
1k 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 ...
8
votes
3answers
2k 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
255 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 ...
35
votes
2answers
36k 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 ...
1
vote
2answers
244 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 ...
11
votes
5answers
31k 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. ...
7
votes
2answers
2k views

exact answer for “what is j2ee?” - job interview [closed]

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 ...
4
votes
3answers
8k 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 ...
2
votes
2answers
2k 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
536 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 ...
0
votes
4answers
20k 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
1k 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
230 views

Java API Deprecations

Who decides the API deprecations the JEE specification or the vendor of JDK like Sun, IBM?
3
votes
6answers
2k 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 & ...
3
votes
2answers
980 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, save ...
2
votes
1answer
88 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
2k 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? ...
4
votes
1answer
769 views

How to move to Java enterprise development after Python and Ruby? [closed]

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 ...
1
vote
2answers
736 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 ...
5
votes
1answer
2k 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 that ...
3
votes
2answers
2k views

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

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 ...
76
votes
5answers
80k views

Staging environment vs Production environment

I work for a company where we build enterprise applications, and we maintain three environments: development (or dev), staging (or stage) and production (or prod). The meaning of dev is intuitive: it'...
61
votes
1answer
20k 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 ...
60
votes
6answers
28k 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 ...
6
votes
3answers
128k views

SLF4J vs LOG4J Which one to prefer? [closed]

I have seen this question but does not answer me. It have a brand new project. I have almost always used Log4J but now I am seeing SLF4J making some waves. What is it that Log4J could not do and we ...
3
votes
2answers
387 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 ...
4
votes
5answers
18k 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 ...
5
votes
3answers
18k 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 ...
1
vote
2answers
114 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 ...
3
votes
1answer
4k 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 ...
2
votes
1answer
2k 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
392 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 ...
0
votes
1answer
629 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.
1
vote
1answer
540 views

How to get started in coding for JBoss [closed]

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
199 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 ...
13
votes
5answers
20k 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 ...
9
votes
4answers
2k 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 ...
4
votes
4answers
339 views

Continuous integration never results in build errors

I'm working with a variety of Java EE websites which use internal libraries we've developed. For each website, we only upgrade to new versions of our internal libraries as needed, and before ...
0
votes
3answers
3k views

Advantages of Scala vs. Groovy with JAVA EE 6 Applications [closed]

Please let me first emphasize that I am not looking for flame wars. I just want advice from people who have real experiences. I started learning JAVA EE 6 as real newbie and am having a difficult ...
6
votes
4answers
2k views

Why do almost all Java jobs (postings and from recruiters) say J2EE rather than the newer JEE versions? [closed]

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 ...