Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: frag
  • Order by date
  1. frag

    client/server app - help with design needed

    No problem, I gave a star to both of you. :-D So, thank you very much for your input. That made my day. real_firestorm@gmx.de
  2. frag

    client/server app - help with design needed

    timw, you might be right. I guess I will give this approach another try. Could you just give me a hint regarding sockets and RMI. When using RMI, will I have to take care about the sockets or will RMI do this for me? I have read something about rmiregistry and nameservices and I am a bit...
  3. frag

    client/server app - help with design needed

    Good question! I must confess that I only know some Java basics and have little knowledge about JBoss and J2EE. RMI is a good point. I will try to make myself more familiar with this technology. I just stumbled over RMI while chasing information on the internet. Is it possible to have a...
  4. frag

    client/server app - help with design needed

    Hi Diancecht, I forgot to mention that the JBoss-approach would include a fat client application as frontend, not a webapplication. frag real_firestorm@gmx.de
  5. frag

    client/server app - help with design needed

    Hi folks, I have a design related question for you: We need a client/server application, which helps us administrating and maintaining our project. The user should be able to make some entries in a database and it should be possible to start some shell scripts on the server within the client...
  6. frag

    Need help with compiling C++ code with ANT

    Hi everybody, I am trying to compile an existing C++ project with the help of ANT. We are doing this with make right now and it works fine but we start to use Java for some smaller programs and I thought that it would be nice to have an ANT build.xml which can handle everything in the project...
  7. frag

    Strange special characters in textfile

    You guys were all right! It is indeed a unicode formatted file and timw's posted code is working (UTF-16). My first mistake was that I thought it was in ebcdic-code, my second mistake was that I did not know that StringTokenizer does not return an empty value if it hits two delimiter in a...
  8. frag

    How can I get the log4j logfile-name in an application?

    Hey this works! Thank you very much... my mistake was that I used: satic Logger logger = Logger.getLogger(myClass.class); But apparently I have to use: satic Logger logger = Logger.getRootLogger(); In my log4j.xml I have: <log4j:configuration...
  9. frag

    How can I get the log4j logfile-name in an application?

    Hi all, I am using log4j with a DailyRollingFileAppender. Everything works fine so far but there is one problem left.... I want to be able to let my application know how its logfile is named an where it can be found. Therefor I would have to browse through the appenders and if I find an...
  10. frag

    Strange special characters in textfile

    Hi timw, thank you for the tip. But it won't do the trick for me in this case. The file has tab seperated values. If I use UTF-16 the "empty" fields (two tabs in a row) will disappear during the read process. This file seems to come from a host-system with strange encoding... anyhow my...
  11. frag

    Strange special characters in textfile

    Ok, solved this problem on my own... the file contains NULL-characters. I now just filter them with: line.replaceAll("\\x00", "") Perhaps this might by handy for someone else. Sorry for double post... frag real_firestorm@gmx.de
  12. frag

    Strange special characters in textfile

    Hi all, I have a big problem with a small textfile. :( I read a textfile that was downloaded from a webserver... like this: String line; FileInputStream fin = new FileInputStream(strImportFile); BufferedReader myInput = new BufferedReader(new InputStreamReader(fin)); try { // read file...
  13. frag

    How to read content of a webserver's folder?

    Thank you Stefan for your reply. The directory-listing in html-form is exactly what I get and what I want to read (if I can't read the folder itself). The program-description of htmlobserver sounds very promising, i will have a deeper look into the sourcecode as soon as I have enough time...
  14. frag

    How to read content of a webserver's folder?

    Hi all, I want to read the content of a folder on a webserver with a java program. Is that possible at all? Want I try to achive is that you can call the programm with a certain URL (like www.abc.com/xyz/) an it will display the folder's (xyz) content (all html-files, etc.). I have tried...
  15. frag

    running 8080 and 80, and 8443 and 443 all at the same time

    I guess you would need several connectors, like this: <Connector port="8080" maxThreads="150" inSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" /> <Connector port="80" maxThreads="150"...
  16. frag

    Problem: apache + mod_proxy + dns-alias

    Ok, solved it on my own. This UseCanonicalName Off will do the trick. real_firestorm@gmx.de
  17. frag

    Problem: apache + mod_proxy + dns-alias

    Hi! I have a problem with mod_proxy. We have a machine with the dns-entry "domain.example.com" and an alias called "alias.example.com". I setup the (reverse)proxy to forward all requests that go to a certain directory to another server (tomcat): <IfModule mod_proxy.c> ProxyRequest Off...
  18. frag

    need some kind of singleton-functionality on server-side!

    Hi Antharian, you are right, it is a thick java client not a webapp. 1) I use the database accounts for the login, that means the user has to provide his database login when using the app. And I select groups/roles depending on the username. Groups are stored in an extra database-table and are...
  19. frag

    need some kind of singleton-functionality on server-side!

    Thank you for your answer chiph... I am sorry to say that I don't get the idea behind the startup class. As I see I would have to provide a name for the class and a hashmap. Will each connected client have his own instance of this class? I am suprised that there doesn't seem to be a standard...
  20. frag

    need some kind of singleton-functionality on server-side!

    Hi everybody, I am trying to solve a design-issue but I can't find the proper solution for it. This is the problem: We have an java application (client) that connects to a jboss-server and it does some database related tasks (show records in a JTable, add, edit and delete records). Everything...

Part and Inventory Search

Back
Top