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

learn more… | top users | synonyms

-3
votes
0answers
18 views

JSP page - In a table <TD><input type = text name = “code”></TD> [migrated]

I have created a JSP page with a table containing two columns Code and Description ,the table data is input type="text" name ="code", the functionality which i have to implement is,if i type the ...
0
votes
0answers
41 views

Including front end designers in enterprise web development

We are developing a web application using Java EE. The stack is heavy, the deployment is complex and now we want to include a purely CSS designer in the team. We want to include this designer without ...
0
votes
1answer
44 views

Best way to make synchronous calls between JEE apps [closed]

I have two jee web apps that are going to be published on the same physical server, but on different network addresses. APP A: Listens to a port on a public IP address and makes synchronous ...
-5
votes
4answers
226 views

Why creativity is consider a bad practice by architects? [closed]

If you do something creative (for example I did a new approach to logging) is consider a bad practice. the good practice in Java is to put static field logger in every class. My approach creates ...
1
vote
1answer
81 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 ...
0
votes
0answers
122 views

Generic/Dynamic objects in JSF

I'm starting to learn JSF and I was wondering how could I implement the following: I have an instance of Spring that contains several beans for logical and database operations, for example I have a ...
2
votes
2answers
129 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 ...
3
votes
5answers
3k 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 ...
0
votes
1answer
114 views

SOA, Java EE and data organization

At the company I work for, we're currently splitting up our monolith solution into a number of small services (SOA). The purpose of this is to make the developers working on each chunk of code ...
2
votes
0answers
221 views

How to package static content outside of web application?

Our web application has static content packaged as part of WAR. We have been planning to move it out of the project and host it directly on Apache to achieve the following objectives. It's getting ...
1
vote
1answer
131 views

The Nature of Spring [duplicate]

Is it accurate to say that dependency injection manually using java (without spring) is nothing but implementing the strategy pattern (as per this example)? Furthermore, is it correct to say that ...
0
votes
2answers
273 views

Trying to understand annotations & static with Java EE 7 Tutorial (JAX-WS) [on hold]

I'm trying to understand annotations and the use of static with Java. I´m reading Java EE 7 Tutorial about JAX-WS API and I tried to run this simple example ...
1
vote
1answer
275 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. ...
4
votes
1answer
219 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 ...
0
votes
0answers
38 views

Modularization of application [duplicate]

I am creating an application that will track different things on relating to a given farm. When I started to look at what I was going to create I saw that some parts of the application infact could be ...
-2
votes
0answers
138 views

Modularization of application [closed]

I am creating an application that will track different things on relating to a given farm. When I started to look at what I was going to create I saw that some parts of the application infact could be ...
3
votes
1answer
422 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 ...
0
votes
1answer
81 views

Do JAX WS implementation classes come as part of the Java 5/6 package or only as part of an application server libraries?

Do JAX WS implementation classes come as part of the Java5 package, as part of the Java6 package or only as part of an application server libraries like WAS? I read that it comes as part of Java EE? ...
0
votes
1answer
4k views

Why use JSP instead of servlets? [closed]

(Rewritten for reopening:) What are relative advantages of Servlets over JSP, or vice versa? Might JSP be preferred because it is easy to put code inside JSP, or Servlets because with them code can ...
0
votes
2answers
6k 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
1k 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 ...
0
votes
1answer
267 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 ...
6
votes
3answers
225 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. ...
0
votes
0answers
126 views

Unit Test the integration layer using CDI

JEE-CDI allows you to create applications integrating components with annotations and configuration files. What I call integration layer is the set of annotation and configuration file that enables ...
0
votes
1answer
121 views

Controller JSP - no view

Most people say do not use JSPs. But what if I have a JSP that does not show anything, it only acts as a controller? Why would I do that? Because we do not need to redeploy complete webapp to make a ...
1
vote
1answer
84 views

Understanding the meaning of “multiple lifecycles application development”?

Some Agile job posts have a requirement "strong understanding of multiple lifecycles application development", what does it means ? So my question would be: what's that field for, and what would I ...
3
votes
2answers
244 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 ...
0
votes
2answers
702 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 ...
3
votes
2answers
859 views

Recruiter asking for help understanding JEE5 or JEE6 and J2EE. (NOT A JOB POSTING NOT LOOKING FOR CANDIDATES)

I am a recruiter. I want to learn as much as I can about JEE5/JEE6 so when I try and find these types of candidates I can at least talk intelligently with them. What I need to understand is what goes ...
1
vote
1answer
359 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 ...
0
votes
6answers
667 views

Looking to build a 2 java applications. should it be web-based application or standalone application?

The first application (web-based) will be located at site1 and once the information is processed, it will be sent to the second application(web-based) located at site2. Application2 needs to be able ...
4
votes
1answer
442 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 ...
4
votes
2answers
263 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 ...
0
votes
1answer
234 views

How do remote interfaces work with JavaEE and glassfish?

I would like to know what is going on "under the hood" if I use remote interfaces in JavaEE. In the project I use a stateless enterprise bean that implements a remote interface. And I can call methods ...
0
votes
2answers
390 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 ...
2
votes
1answer
494 views

Why isn't Java being used for web multimedia applications?

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 ...
5
votes
3answers
288 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 ...
5
votes
2answers
202 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 ...
3
votes
2answers
448 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 ...
0
votes
1answer
402 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
3answers
1k 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: ...
1
vote
1answer
278 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 ...
-2
votes
2answers
426 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
4k 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 ...
5
votes
4answers
3k 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 ...
3
votes
4answers
1k 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
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 ...
3
votes
2answers
391 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 ...
4
votes
3answers
289 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
201 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 ...