design « Development « Java Enterprise Q&A





1. quick-and-dirty vs. good design    stackoverflow.com

What do you do when your manager wants you to implement something in a quick and dirty way and you just know it's going to backfire? My manager wants me to develop ...

2. Website Design or Back-end logic first?    stackoverflow.com

I'm currently working on a pet project of mine: a web application using Servlets/JSP and some jQuery and Javascript goodies.
I just started on the project and my dilemna is: should I ...

3. How does UI design differ when designing a software appliance console from traditional web applications?    stackoverflow.com

  • Are there any open source frameworks that are for this purpose?
  • How does UI design differ when designing a software appliance console from traditional web applications?
  • Any examples of particularly well-design user interfaces ...

4. how i can design a map viewer web application with GIF map images? (AVL TRACKING SYSTEM)    stackoverflow.com

i am a student and my final project in gaduate study of Computer engineering is design and development a map viewer web application that must be used for an AVL tracking ...

5. Key factors for designing scalable web based application    stackoverflow.com

Currently I am working on web based application. I want to know what are the key factors a designer should take care while designing scalable web based application ?

6. Database Design - 2d tile grid    stackoverflow.com

I played a web game a while back called racewarkingdoms. It used a 2d text based system. What interest me is the map. The map is made up ...

7. Java/J2EE standard practices and design choices    stackoverflow.com

I have a couple of design/architectural questions that always come up in our shop. I said "our", as opposed to "me" personally. Some of the decisions were made and ...

8. Client Server Design Question: Maintaining State On Both    stackoverflow.com

Thanks for taking the time to review my question! Let’s assume that there is a web service (restful, SOAP, XML/JSON, what ever you want) and it was a service regarding puppies. A ...

9. Design for ConnectionPool    stackoverflow.com

When some one asks you to write (do / depict) design for Connection Pool in a Java interview what would you typically write. Do you write code for connection pool or do ...





10. building an XML service parsing library    stackoverflow.com

This is more of a design question I suppose. My company offers a web service to our client that spits data out in a custom xml format. I'd like to build ...

11. How to find out if the internet connection is not available from your web app    stackoverflow.com

How to find out if the internet connection is not available from your j2ee web app, since some portions of our UI will not work properly if an internet connection is ...

12. Understanding Java Web development and separating logical tiers    stackoverflow.com

When developing Java EE applications how do I separate Business Logic so it can be reused? I inherited an application that is mostly Model 1. Business logic is located in JSPs, ...

13. When to use Java and Message Broker?    stackoverflow.com

I am a developer at my office where SOA development is at its peaks. We use IBM MQ, IBM Message Broker and Java/J2EE Technologies. I have been currently put into project ...

14. J2ee Design Assistance Required    stackoverflow.com

I am using MVC pattern in my web application. In which i have three layers 1. Control Layer 2. Manager Layer 3. Dao Layer And i am using DTO's from control layer to manger and ...

15. Why do people design EJB2 which is difficult to write and deploy?    stackoverflow.com

Many J2EE developers know that EJB2 forces them to write 'useless' Home interfaces. In addition, deployment XML are different among application servers. So I don't know why EJB2 is part of ...

16. Should there be a seperate project per tier?    stackoverflow.com

I've been writing a web application for the past year or so and I've got a feeling I've structured it in a poor way but I'm not really sure what it ...





17. References/examples on design and implementation of graphical tiles?    stackoverflow.com

Remember the game Civilization, where there was a large scrollable map with different behavior of some tiles. Or in Google Maps there is also a map where tiles are loaded with ...

18. General Modular design for a web application    stackoverflow.com

From everyone who've designed a modular enterprise application, I am interested in knowing how do you perceive modularization and what exactly are you parameters?

  1. Is layer-based modularization (like controller/web module, service ...

19. web application design problem related to search engine optimization    stackoverflow.com

We have a website which has a decent customer base. We recently started a subdomain which will be used to serve specific content from the website. We need to redirect the ...

20. Generic Question about Application Design    stackoverflow.com

In the process of development of a web-application we have everything in place in module way like we have our action classes which are responsible for intracting with the View Business ...

21. Use cases for JCA    stackoverflow.com

I read that JCA is for legacy EIS integration. Is this spec geared towards vendors and not the application developer? I am curious to know of use cases where developers wrote ...

22. Java web framework to design UI easily    stackoverflow.com

I am new to Java web. Can anyone recommend some useful and efficient web framework to create UI and develop the code using Java? I am a core Java developer. UPDATED Thank you ...

23. How to design good looking Web Application    stackoverflow.com

I am a java developer and I am on my way to create a professionally good looking web application, one which has jquery, and fancy menus, well organized css, html etc. ...

24. CSS design templates    stackoverflow.com

I'm about to develop a j2ee web application . I need to know , how can I have the different designs (layout of CSS) for jsp pages . Say If I ...

25. Java - Business Service, data access objects - Should Singletons be used or not?    stackoverflow.com

Consider a web application with business layer and data access layer. So, every request has to be passed through these two layers in order to get processed. Since there would be ...

26. Need help with java web app design to perform background tasks    stackoverflow.com

I have a local web app that is installed on a desktop PC, and it needs to regularly sync with a remote server through web services. I have a "transactions" table that ...

27. How to create case-insensitive field on JAVA pojo. Looking for a good design    stackoverflow.com

So I'm using GigaSpaces XAP with Hibernate plugin to load my DB table into the their grid cache, unfortunately for querying the grid they do not support directly case insensitive searches. They ...

28. Convince Product Managers to Change Design of a Long Running Synchronous Process    stackoverflow.com

In our web application, we have a feature which:

  1. Gets a list of products
  2. Writes them to an excel file
  3. Returns the excel file to the user for download
This process takes more often ...

29. data import ideas    stackoverflow.com

I have developed a system where the admin user is expected to update the approval of xyz from another website which has the details. This is being done manually for many ...

30. Separate implementation programming design    stackoverflow.com

I would like to have design suggestion for the following issue: I am programming for server application.(JBOSS) It's something very common, but I am not sure how to implement this. I am implementing an ...

31. Help with design problem (extending a generic inteface)    stackoverflow.com

I am part of a studentproject and we are to develop a product for a company using Java EE. As "lead architect" in the project I am responsible for composing a ...

32. Web applet game design    stackoverflow.com

I making web games in java and having troubles each time when getting to the GUI design, usually I'm looking at others codes and copy most of the design, and I ...

33. DBC (Design by contract) and AOP(Aspect oriented programming)    stackoverflow.com

I was reading The Pragmatic Programer and by section about DBC ther talk abount how Effel enforces DBC pre and post Condition and Java,C#,C++ dose not. First thing that came to mind ...

34. What can AOP do that OOP can't do?    stackoverflow.com

I'm primarily a Java developer. I've met quite a few Java devs who love AOP. I've also been seeing more and more AOP "design patterns" emerging recently that seem to be ...

35. Program Design - Package by Feature vs. Layer or Both?    stackoverflow.com

I am in the design stage of a web application that allows users to create requests of work and the workers to put time against those requests. The application will also ...

36. design a java webapp that prints html signs and lables    stackoverflow.com

I want to design a webapp that can print signs for various products, such as a big store. The content of the signs (product names , descriptions ,prices ) comes from the ...

37. how to start a new project    stackoverflow.com

For the first time ever I am getting the chance to start a new project. I am comfortable with structure of the project with regards to the 'development'. It has the usual ...

38. Does Java EE 6 framework only for Web Application Or can I use it for Client Application as well    stackoverflow.com

I always use Jave EE 6 framework for web application. So I am not sure what I about to do is correct. I need to create an native client command-line application ...

39. shopping cart ..retrieving earlier state for user with no login    stackoverflow.com

I am trying to build a shopping cart web application so that I can learn javaee . I am using murach's book and head-first-servlets book for reference. Also I went through Amazon ...

40. Help needed designing order and invoice in JavaEE shopping cart application    stackoverflow.com

I got a bit confused designing the classes for a shopping cart application. A ShoppingCart has a set of ShopCartItems, each of which contains an instance of a Product and the quantity. ...

41. Usage of a Data Access Layer (DAL) in a SOA design    stackoverflow.com

As we are in the beginning phases of rejuvenating our application in to SOA design I have some questions that I can not get a clear answer/picture on. I have been doing ...

42. How should J2EE applications be separated?    stackoverflow.com

I've been wondering about separation between J2EE applications... I can see why separation between the applications can be good. It's very much the same case with regular java projects - code separation ...

43. J2EE Application Design    stackoverflow.com

I have a specific question about J2EE architecture. I have an application that requires several components:

  • A web service and persistence layer (cxf/hibernate)
  • A management / configuration console (Struts2/JSP?)
  • One or more user "applications" ...

44. web application design layering rules and best practices    stackoverflow.com

A web application is often designed to be layered. Typically there would be a Repository (Dao) layer, a Service layer and a Control (web handling) layer. The Control layer uses the ...

45. how to design a web application that developers can use to retrieve the crashdump/Logs from customer environment    stackoverflow.com

Hi I am c++ developer and my knowledge to web technologies is minimum. Right now i am trying to design a web application which the development team can use to ...

46. How to render Infopath form using Java EE    stackoverflow.com

I have some Infopath forms and I want to render them in my Java EE application. Can you tell me some Java libraries to implement this? It would be great to ...

47. Design client-server transference of a list of errors using JavaEE    stackoverflow.com

When invoking a method in server side I can get a list of errors or warnings if something is wrong with some of the parameters, or a correct answer if everything ...

48. Null checks in constructor vs in service method?    stackoverflow.com

This is a topic in one of our code reviews, I'd like more opinions. Let's say I am writing a service that will allow me to insert a simple Person object into ...

49. JNDI/RMI design problem    coderanch.com

Hi all, I have the following task to solve: A client communicates via JNDI with a server. He uses the interface: public interface Access { void perform(); } } RMI is used as an layer underneath to enable remote method calls. This means, a pure RMI implementation is used, invisble for users of Access. Here, the following interfaceis used: public interface ...

50. Connection Pool Design Issue    coderanch.com

I have a search Servlet. The init method creates a search class which is an insatnce on the servlet. If a method is invoked on the servlet it will invoke it on the search class. The Search class gets a connection from the pool and returns it back at the end of the method completion. Is this an appropriate design? My ...

51. J2EE Design problem    coderanch.com

Hi guys, This is basically a desing problem which confuses me alot.Here it is: I have a system with 3 entities say x1,x2,x3 for each of these entities i have to develop a module to add an entity,delete an entity,edit entity information and view the information. Also i have a module to implement transactions between these entities say x1 borrows money ...

52. Web application design woes    coderanch.com

I'm designing a modular web application framework (don't ask me why) and here's the solution I ended up using: 1 controller servlet that hides behind an url mapping, say http://localhost/servlet - I don't want it handling everything, just stuff that needs to hit a servlet, since the web server will probably do a much better job of it. I have a ...

53. Design issue: Viewing files in Web application and hide it from user based on securit    coderanch.com

Dears, I wanna ask question about how to design a web application in Java that have links to dynamiclly loaded files. These files are loaded from admin screens in the application. The target of this uploaded files is to be viewed by users based on their right ==> so I can't make all the uploaded files in a directory on the ...

54. WebApp Design Issue    coderanch.com

We have an application that required to send mails to the customers. First we store email details in database. We have separate Java Application that queries database on the regular basis and sent the email. If our emailing application got problem, we have entry in the database so we can resend emails and we dont have to restart the main application. ...

55. web application design    coderanch.com

Hi there, I wanted to pose a basic question as to what is a best approach when designing a web application. Case in point for a scholastic application: 1) thirty students login to their accounts and try to access the same information. 2) in doing so, they all call the same servlet which in turn calls a class named "StudentModel" and ...

56. J2EE Design    coderanch.com

Hello Everybody, I am working on a SPRING and Hibernate technology to develop a Web based Application using Spring's MVC(Not WebWorks). Also as we know that to develop a Web based Application in J2EE environment, we must adhere to the J2EE design pattern. My question is how to develop such applications using J2EE patterns. Can anybody there tell me how to ...

57. Design problem web, application    coderanch.com

Hi! I don't know the best approach to this problem. I'm building a web application JSP, Servlets, MYSQL with tomcat container. The adminstration is in a normal Application to support integration with other desktop application and printing drag and drop and so on. I want to use the same Objects in the application and JSP. What is the best approach. Do ...

58. A problem in Connection pool design    coderanch.com

59. Web Application Design    coderanch.com

60. Licensing a web app (design question)    coderanch.com

Greetings all - I have a web app that a customer will be using on their intranet. I have another application that will create a license for them to use the web app. My question is, where in the web app should I place the license checking code? I was thinking I could create a request filter to take care of ...

61. Design Question - Consolidating Web Apps    coderanch.com

We have a few standalone web apps that are standard servlet/jsp apps. The idea has come up that we want to have a common web interface for these apps. Clients would login and each app would be represented by a tab and when the tab was pressed the common web interface would call the corresponding web app that resides on a ...

62. web application design issue    coderanch.com

Hi, I have designed a web app as given below. The application has a servlet to which all the requests are passed. Whenever a new action is performedon the web page, i call the same servlet with a different querystring. Thus the query string to the servlet identifies the various actions. From the servlet, i retrieve the query string and based ...

63. Large Scale Design Of Web Applications    coderanch.com

Hey, I'm using servlet technology in conjunction with spring security and hibernate to put together the back-end for my mobile application and I'm wondering if anyone has tips on making things as modular as possible. At the moment I basically have an authentication servlet which logs the user in and dispatches requests to one of three other servlets. (depending on what ...

64. Web Application design solutions    coderanch.com

Hi Brendon, Could you please elaborate: How are you integrating with these providers, are these hotel's application Web Services? What is your main concern, determining what service to call (selecting the correct provider)? The payment mechanism depends on what service has been provided to you. Not sure on what you are asking here.

66. how should i analyze, design and develop web applications using Java Script    forums.oracle.com

Computer: Think of an animal. Hit Return when you're ready. Human: (hits return) Computer: Does your animal live in the water? Human: No Computer: Does it have stripes? Human: No Computer: I know! Is your animal a horse? Human: No Computer: OK, what is your animal? Human: A turtle Computer: What question would distinguish your animal from a horse? Human: Does ...

68. I need what kind of J2EE technologies should use to design apporval system    forums.oracle.com

Hi, I have to develop a java based approval system. Which are the best J2EE frameworks we can use in UI layer, Service Layer and Data Access layer to develop a approval system. Can somebody suggest me, Right now i have some frameworks in my head it's like Spring with Hibernate and JSF (for rich client). So please help me out. ...

69. Critique my Web App design. (very long, maybe interesting)    forums.oracle.com

Critique my Web App design. (very long, maybe interesting) Posted: Jan 2, 2007 10:14 PM Reply Hi all I guess this is really a design issue, and I was just looking for confirmation that what I have done is good practice. I am writing a web application with the works, forms, beans, client validation, server validation, everything. In the ...

70. From a Technical Architect point of view, how to design a web application?    forums.oracle.com

Hi to all, I am writing this issue here because I this question is not related on how to program, but on how to design a web application. That is, this question is not related to how to program with the technologies in J2EE, but how to use them correctly to achieve a desired outcome. Basically I know how to develop ...