architecture « Development « Java Enterprise Q&A





1. Sharding (sic!) the web tier in order to prevent a load balancer bottleneck?    stackoverflow.com

How do large web sites which cannot be completely stateless achieve extreme scalability at the web tier? There are sites like ebay and Amazon, which cannot be completely stateless, as they have ...

2. Describe the architecture you use for Java web applications?    stackoverflow.com

Let's share Java based web application architectures! There are lots of different architectures for web applications which are to be implemented using Java. The answers to this question may serve as a ...

3. Architecture - Multiple web apps operating on the same data    stackoverflow.com

I'm asking for a suitable architecture for the following Java web application: The goal is to build several web applications which all operate on the same data. Suppose a banking system ...

4. Looking for a .NET 3.5 / J2EE architecture concept comparison article/chart    stackoverflow.com

We are thinking about combining .NET technology with Java technology (WCF, JBoss/ESB, MOM, WPF, WF) and I need to have a high-level idea of what are the apples and oranges in ...

5. Java Application Architecture Guide    stackoverflow.com

Is there a Java Application Architecture Guide that is a counterpart of this: http://www.codeplex.com/AppArchGuide ?

6. Fowler's "Patterns of Enterprise Application Architecture" still relevant?    stackoverflow.com

I'm thinking of buying Martin Fowler's "Patterns of Enterprise Application Architecture". From what I can see it seems like a great book, it an architectural book with bias towards enterprise Java -- ...

7. Suggestions for software architecture style to use between Java and Windows    stackoverflow.com

Here is an interesting combination, I need to transfer data between an "appliance" running Windows XP Home and a remote Linux server on the internet. Let me itemize what needs ...

8. Have I implemented a n-tier application with MVC correctly?    stackoverflow.com

Being pretty unfamiliar with design patterns and architecture, I'm having trouble explaining to others exactly how my latest application is designed. I've switched between thinking it's a pure n-tier, pure MVC ...

9. Design patterns for Java EE application    stackoverflow.com

We are starting a new Java EE project and am looking for suggestions regarding design patterns to expose the backend interfaces. It would be preferable if the backend logic can run ...





10. Orchestration vs Message Driven Architecture    stackoverflow.com

What are the responsibilities of an Orchestration engine vs a Message Driven System. If I have to build a system which have to string together different independent components(cross-technology/platform components which need not ...

11. C# architecture guidelines vs JavaEE    stackoverflow.com

When I first switched from Java to C#, I was really impressed with C#'s features. However, it seems to me that C# has yet to provide solid infrastructures in the way ...

12. Architectures for a Java web application    stackoverflow.com

What are the different architectures for developing professional and organized Java Web Applications? I have heard about MVC architecture, what architecture else does, for example, Stackoverflow, google, orkut, etc.. use for ...

13. My program needs to access information (key/value) from my hosted server. What web architecture would be best for this?    stackoverflow.com

My program needs to download object definitions (basically xml files, maybe binary files) on demand via the net. The program will request objects from my server during runtime. The only thing ...

14. Architecture guidebook for Java web application?    stackoverflow.com

I'm looking for some good books/internet material that discusses on how to make decision on architecture for a Java web application, discuss on various considerations etc. I found this "J2EE Architecture Book" ...

15. Can a J2EE solution architect contribute in a .NET shop?    stackoverflow.com

An organization I work with is heavily invested in .NET technology, including several high-traffic ASP.NET websites that are used by internal and external customers. We are looking into hiring a solution architect ...

16. Where are the network boundaries in the Java Connector Architecture (JCA)?    stackoverflow.com

I am writing a JCA resource adapter. I'm also, as I go, trying to fully understand the connection management portion of the JCA specification. As a thought experiment, pretend ...





17. What is the difference between Registry and Repositry from SOA point of view?    stackoverflow.com

  • What is difference between Registry and Repositry from SOA point of view ?
  • Which one should be used ? What are pros and cons of one over other and vice-versa ?

18. what frameworks should be chosen for the particular web application?    stackoverflow.com

What are the factors in deciding framework to choose ,technology for a web application .any architect please provide a guidance.

19. Accessing Java Connector Architecture (JCA) from a Non-Managed environment    stackoverflow.com

We have been using a JCA to interface with a low-level network resource from within WebSphere, however we have a requirement to be able to access the same network resource externally ...

20. Performance of a proposed JEE architecture    stackoverflow.com

I have concerns about the performance of the following architecture:

  • j2ee application in an appserver, ejb session bean and DAOs
  • remote (rich) client, a swing app. A classic, form-based client
  • only one stateless ejb, ...

21. Help for Platform plus Plugin development by J2ee    stackoverflow.com

everybody. I want to develop a monitor platform which can monitor many different subjects such as database, OS, middle ware etc. The system includes two parts: 1. Report center(Show some useful chart and ...

22. net application/web server separation    stackoverflow.com

In the Java world, I often see separation between web server and application server. The idea is to scale out your "relatively" cheap web server easily and beef up your ...

23. What do I need to know before working on an IM application?    stackoverflow.com

I'm looking into building an IM-type application using Java stack (for the server at least). I'd be interested to see any information/advice on how applications like Skype/AIM/MSN work, as well as ...

24. Framework or design pattern for mailing all users of a webapp    stackoverflow.com

My app takes care of user registration (with the option to receive email announcements), and can easily handle the actual template-based rendering of email for a given user. JavaMail provides the ...

25. Choosing approach for an IM client-server app    stackoverflow.com

Update: totally re-wrote this to be more succint. I'm looking at a new application, one part of which will be very similar to standard IM clients, i.e text chat, ability to send ...

26. New to Java EE; architecture suggestions for a service/daemon?    stackoverflow.com

I am brand new to the Java EE world. As an exercise to try and familiarize myself with Java EE, I'm trying to create a tiered web-app, but I'm getting a ...

27. Best practices for a heterogeneous .NET WPF & J2EE 3-tier architecture    stackoverflow.com

I'm mostly an ASP.NET developer, so I'm not very familiar with either J2EE or WFP best practices, patterns etc, but I feel that the project I'm involved in could have been ...

28. To use Enterprise Library or not?    stackoverflow.com

I'm working with a multitier SOA based enterprise application with every complex business logics. Many business validations require large amount of support data from database, which slow down the performance. The ...

29. Layered architecure in J2EE    stackoverflow.com

I have a question that I have never been able to solve: Considering these two architecture 1st

UI layer
    |
Application layer
    |
Domain Layer
    |
Infrastructure Layer
2nd
Client ...

30. JEE/J2EE classloading standard    stackoverflow.com

WebSphere comes with parent last and parent first. Is this jee/j2ee compliant? Is this supported by all application servers that are JEE 5 compliant?

31. Multiplayer game client/server architecture RMI/JMS/Sockets    stackoverflow.com

I'm in the process of writing a turn-based card game in Java but need some advice on making it multiplayer. Players can create a multiplayer game and then others can join ...

32. Architecture to develop an application in java that could be used with desktop and web interface too    stackoverflow.com

I'm developing a java application or service for execute remote commands or another applications and receive the results of these commands. And I think about to project this application to be ...

33. is this a use case of state machine? if so which open source do you suggest?    stackoverflow.com

My app needs to pull data from MULTIPLE sources. The following needs to be user defined

  1. Order of the data sources
  2. Within the Order, Conditions (if at all) determine whether to use ...

34. Application Architecture Design Question    stackoverflow.com

I need your suggestions in designing a Java/J2EE web based application. Here are its characteristics:

  1. Purely database oriented application (with 10 tables). The database is Oracle.
  2. Three different types of interfaces/screens: 2.1 WebSphere Portlets ...

35. Java Connector Architecture and TCP/IP    stackoverflow.com

So my most basic question here is: how do you build TCP interfaces into your Java EE applications? Instead of interacting with a legacy EIS, I need to interact with a ...

36. Modules vs Layers in Java package structure    stackoverflow.com

I used to put everything in packages like this:

com.company.app.module1
com.company.app.module2
But it has made package-based AOP pointcuts difficult, and resulted in huge packages that need an IDE to make sense of. So now I ...

37. Architecture for Dashboard in Web Application (Java based)    stackoverflow.com

I have the requirement for building an Activity Dashboard for users when they log into the web application. The Dashboard will show various “portlets� of business transactions which have taken place ...

38. DTO, how to avoid them?    stackoverflow.com

We have a legacy web service architecture. I have now the luxury to use EJBs (EJB 3) for new development and I would like to avoid DTOs as it creates ...

39. What is a good and secure web payment architecture    stackoverflow.com

I'm running a transactional web site where client pay for goods. As of now, I'm using my payment processor (pp) company web page to handle the payment, i.e. the client is ...

40. Java-based web-service architecture    stackoverflow.com

I have to receive 500 requests per second over HTTP and to store them into database. What technologies (preferably Java related) can you advice to use?

41. How to Design and Architect a Java/J2EE web application?    stackoverflow.com

I am java developer with almost 5 years of experience on Struts, Spring and Hibernate. We have a new project coming up in few days. We have the complete requirements with ...

42. Architecture setup for constantly changing text, property files? In a J2EE environment    stackoverflow.com

In a J2EE environment, we are normally used to storing text in a property/resource file. And that property file is associated with some view HTML markup file. E.g. if ...

43. Integration architecture    stackoverflow.com

I'm developing server-side for mobile movie booking application. Server application should have common API to 2 existing booking systems in cinemas. In the future addition of new booking systems is possible. ...

44. CRM framework Architecture    stackoverflow.com

Currently i am working on how to develop the CRM system framework using j2ee. For this type of framework portal is the best option or anyother design patterns? Please share your all of ...

45. Question on application design    stackoverflow.com

I have an existing Java based web app, which works fine for the desktop. Now i plan to design the same for tablets. Now I do not want to divert this ...

46. Need help to design fast and scalable server architecture for SaaS chat    stackoverflow.com

I want to develop a SaaS chat that users will be able to embed on their website and also there will be a desktop chat client. Something similar to

47. How to transfer a File from Java client to Java sever?    stackoverflow.com

I need to give to a java client a way to send files to another application running in an Application Server. I don't need to process the file, but do some ...

48. Design Provision    stackoverflow.com

Basically, I need to develop an engine that will process a lot of jobs. I am thinking to developing a JMS queue implementation where first I divide the job in ...

49. De-coupled dataflow is in J2EE design pattern?    stackoverflow.com

One of project that I am working on having this kind of designed pattern, one bean is defined and used by jsp/action/service classes, that is, used by presentation and business logic ...

50. Java architectural question    stackoverflow.com

I am reading architect related articles. I read that EJB has benefits of Container managed transaction and thread management. Ok here I have 2 questions now. 1) If we consider container managed transaction ...

51. Application Design using XML    stackoverflow.com

I am developing an application which will basically interact with the MQ (hosted on client side). the data which is to displayed on the front end is comming from an very ...

52. How to handle crash during iterating over a very big list (>100 000)    stackoverflow.com

Our system is processing more than 100 000 subscribers. On a weekly basis another external application builds special file(s) containing users' financial information with >100 000 rows. Our application should parse ...

53. How to deal with Java Polymorphism in Service Oriented Architecture    stackoverflow.com

What is the path of least evil when dealing with polymorphism and inheritance of entity types in a service-oriented architecture? A principle of SOA (as I understand it) is to have entity ...

54. Is this a service oriented architecture?    stackoverflow.com

I do have many years of experience in large J2EE web applications and high transactional core java applications but never had any experience on SOA. Currently I am working on a new ...

55. How to audit a JEE project?    stackoverflow.com

I've to audit the code-architecture quality and maintainability (in the end t obe sure we have what we paid for) a JEE web project based on JSF/CDI/EJB3.0/JPA (just to name some ...

56. Creating globally available map    stackoverflow.com

I am working on an hospital application where i need to show blood group in every second page in drop down and getting values from them to the db tables since blood ...

57. jee application architecture for catering many clients    stackoverflow.com

There are so many similar questions all over, but still every minor consideration while taking architecture decisions makes huge impact. We are looking at developing a JEE application which needs to cater ...

58. Difference between Component and Object    stackoverflow.com

What is the key difference between object and component? Can anyone provide examples in Java that how objects and components are related? If possible, please provide some examples whether what are ...

59. Building long term application Architecture    stackoverflow.com

I am interested in learning how web application are evolving. The idea is that if new technologies or design methodologies should be introduced in java based web application, what would be ...

60. Help needed. General question about J2EE architecture.    coderanch.com

Hello, On the one hand, I have a java class (actually a set of classes) that does a lot of low level input/output operations. On the other hand I have a web console in jsp/servlets. I want to be able to invoke a method on the "low-level" java app from the web console bearing in mind that the war will run ...

61. Your opinion on my newbie Webapp Architecture    coderanch.com

What I don't get is the filter that rewrites the URL. Why bother? It just seems like a lot of extra goop. I'm not sure already, but it should work like the 'mod_rewrite' modul from apache. The reason why i want to do this is to 1. Keep the URL's tidy, short and readable for the user and 2. Friendly for ...

62. EAR/WAR/JAR Architecture    coderanch.com

Hi All, Can anyone tell me how code scope within ear & war files? Or, can you tell me where to find the information. Ex. of what I want to do. 1. Maintain only 1 EAR, but have many WARs that share some common code. 2. Since, multiple WAR files need to use common code, can I place the common code ...

63. WebApplication architecture (carrying context some other way than thought method parameters)    coderanch.com

Hi all! I have an application that is pretty much layered this way: FacadeServlet -> Controller -> Service -> Dao -> Hibernate ->DB The thing is that in all methods of the Service layer I need 2 strings A and B (for rights check and other stuff) that are stored in the HttpSession. At the moment all methods in the Service ...

64. j2ee Application Design and Architecture    coderanch.com

I'm not sure if you know how big of a question you are asking! The answer might be overwhelming too, but really, the answer is to look at the standard J2EE Design patterns. Sun has put alot of time into gathering and documenting J2EE best practices, most of which are accepted as gospel in the J2EE community. (That also means there ...

65. Java EE 5/6 web application architecture - aaarrgghhh!    coderanch.com

I've decided to develop a web application as a learning exercise although there is a serious underlying purpose behind it. I'm new to Java EE but I've been a software engineer for a long long time and reckon I should be able to pick stuff up reasonably quickly. My initial thoughts about the application are that there are people using a ...

66. j2ee project architecture    coderanch.com

67. Architecture of Web Application    java-forums.org

Hi Can anybody tell me what all are the drawbacks of writing a web application in Java without following MVC or any specific architecture, ie using only jsps to handle everything. How session management would be effective in such an application? How scalable would be such an application? Corrently I am in the process of rewriting such an application. I want ...

68. J2EE Server Architecture    forums.oracle.com

69. Architecture of Web Application    forums.oracle.com

Hi Can anybody tell me what all are the drawbacks of writing a web application in Java without following MVC or any specific architecture, like using only jsps to handle everything. How session management would be effective in such an application? How scalable would be such an application? Corrently I am in the process of rewriting such an application. Then what ...

70. Architecture for showing content like articles in webapp    forums.oracle.com

Hi, I have a web application developed in Java and, I want to put feature to show and add articles. What is the best way forward to store and dislpay this type of content ? Is it a good idea to use some open source content repository api like apache jackrabbit or alfresco ? or is it better to write my ...

71. Help needed. General question about J2EE architecture.    forums.oracle.com

Hello, On the one hand, I have a java class (actually a set of classes) that does a lot of low level input/output operations. On the other hand I have a web console in jsp/servlets. I want to be able to invoke a method on the "low-level" java app from the web console bearing in mind that the war will run ...