Hi all, I am building a JSR-296 swing app ontop of a spring backend using remote services. The new BSAF has a pretty nice @Action/Task architecture. My basic question is;
I need, pretty much everywhere, to register as a listener for Task events but my objects are disparate. Meaning I have no...
Hi all,
I have a huge issue here at my place of employment and I am at a loss. This application has been running for at minimum a year and last wed I started having problems. This application simply reads in a jpeg stream and writes it to an oracle table using hibernate. The problem I see is...
Hi all, I can't seem to find a natural way to use JMS to solve my following problem. If anyone can point me towards a website, tutorial or anything in the correct direction I would appreciate it.
Here is the situation
3rd party sends xml files to me for events per an entity
First I bind the...
Hi all, I am wondering if an oracle rac can write to one remote file server machine. I am being told that this is not possible but it seems like a elementary task. Thanks for your help.
Brian
Spend like you don't need the money,
love like you've never been hurt and dance like nobody's watching!
Hi all,
I think I know the better answer but I just wanted some input. I only pass DTO's over the wire. (In the body of a Message object)
I at the very least have 2 implementations of my objects. A DTO implementation and a DomainObject implementation.
interface IMyObject
MyObjectDTO...
Hi all,
Not sure if this is specific to J2EE (sorry if it is not)
Would it be good form to use filter servlets to ALWAYS transform any request in my web app to a DTO's instead of doing the transformation in a regular call in the web app?
Thanks in advance
Brian
Spend like you don't need the...
Hi all,
I was wondering if anyone has any experience with a SOLID java front end that can connect to any database. I DO NOT want to install Oracle ANYTHING on my new machine. I would like a tool that can use jdbc and connect to MySql, Oracle Sql Server etc... so I can use the same app for all...
Hi all, this is probably a basic question but I need an answer quick and I don't know it. I have to send an xml doc to a servlet in a seperate thread for logging purposes and I don't care about it after I send it. As it is now I am sending it on an HttpUrlConnection and i have to ask for the...
Hi all,
I have a question. I may be having this problem because of a design issue but I am here nonetheless.
I need to write a unit test to use with JMeter for my servlet.
My servlet accepts a Map of values right on the InputStream through a POST method (so they are not parameterized and can't...
Hi all,
I am very much still a novice at this stuff but I am learning more and more each day. I now understand (I think!) how a DAL works as far as Sql goes but I am now in the realm of xml. I can understand it if there is a static xml file but my problem is this.
My controller receives an xml...
Hi again,
I have another probably simple challenge that I need help on. I am now starting to utilitze the AbstractAction in java. I now am thinking if I have a DlgInput of some sort, how do I get the data that was typed in to the action? Or do I take care of that elsewhere? I was thinking...
Hi all,
I was wondering different people's ways of dealing with a user object in a JTable. Where do you store the user object? Do you make the toString() method one of the fields and just add the object to the first column? Is there a way to add the UserObject to maybe some kind of...
I am trying to implement an options dialog (ie ProperyPages with a tree as the navigation on the left)
I need to add a node to the tree when one of the pages has a name added to it. So in essence I will have to add to the local table and also to the parent's tree.
How should I pass the...
Hi all,
I have a situation that I believe a pattern can solve and want to really start understanding how to apply these to real-life (my real life) situations.
I have a QueryBuilder class that needs to build a select statement based off of what has content.
Something like
public class...
Hi all, For the life of me I can't find a way to do this. Forgive my ignorance. Here is my question:
I need a way to replace a ? or many ?'s in a string with a value. How can I accomplish this?
in MFC you could do
resultCString = someCString.format("you can't enter %s for %s", "value1"...
Hi, sorry for the very basic question but I feel I have a hole in my abc's. I want to make a plain old dialog that has to change the color of an item, actually many different items that are stored in many different JTables in a dialog.
What is the best way to interact with the db?
Do I create...
Hi all,
I have 2 classes. One writes images to a file and another writes them to a db. This absolutely looks like the Strategy Pattern but I am unsure of how to implement it. The FileImageWriter will take a path of where to store it and the DbImageWriter will have to take the host...
HI all, I have a situation that I can't seem to find the correct pattern for. I am wondering if anyone see's this clearly.
I basically have a grid that has named locations.
They are all at the size of the lcd, being 20 foot.
I can have 20 foot objects and 40 foot objects.
A 20 foot object is...
Hi all,
Just wondering the method used for libraries and a VCS tool. I use visual source safe and I previously would just add the source code to source safe and make every developer rebuild it but I now realize how stupid that is. So how does other shops organize their source control?
Spend...
Hello again,
I have reorganized my project and I think I have figured out, at least one of, my problems. I am unsure of a "manager" type class that will make calls to all of the other objects. For example.
There are a few different paths in my app
//in all of the paths
now I also need to log...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.