N Jain

Greenhorn
+ Follow
since Aug 11, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by N Jain

Hello Martin,

Thank you for the response.

The application makes use of EJB 3.0 and JPA for data access and persistence. I had thought of implementing a solution using JPA; however on doing further study realized that it may not be an efficient way for archiving and then purging huge data.

I will first try and implement a solution using JDBC Update Batching first and then try out database solutions.

Best Regards,
Nitin
11 years ago
Hello Forum,

I am working on a JAVA e-commerce application with Oracle 9i database. All the transactions that take place are logged in Table-A on Server-A. The requirement is that all the transactions that more than 60 days old should be moved to Table-B on Server-B. The solution should be executed everyday at fixed time.

1: Structure of table A and B is identical and is with no partitions.
2: Server A and B are two different machine running identical Oracle Database.
3: The data that may be moved from A to B will be in thousands of records.

Please suggest an efficient solution.

Thank you,
Nitin
11 years ago
Hello Forum,

I have 2 JBoss AS configured in a cluster (HA-JNDI incorporated). I have a service locator class that implements JNDI caching.

Code Snippet

As the application is accessed, n number of lookup's are cached that refer to either AS1 or AS2. Now when I shutdown AS1, and the application try to use any cached lookup that is referencing AS1, I get the following error.


I thought the lookup would be successful as AS2 is available.

Please advice where I am going wrong.

Thank you,
Nitin
12 years ago
Hello Forum,

I am in the process of deploying an application in a clustered environment. I have the war file deployed on 2 separate
machine running Apache Tomcat servers. The load balancing is achieved using Apache HTTP Server using mod_jk.
I have another set of 2 machines (Windows Servers) that run JBoss5.1.0 which, are just used for EJB and JMS. A Windows NLB
is used to provide load balancing for the two AS.

The JBoss servers are started using the following parameters.
JBoss Node 1 192.168.0.1

JBoss Node 2 192.168.0.2

NLB VIP 192.168.0.3

If I set java.naming.provider.url to jnp://192.168.0.1:1099/ or jnp://192.168.0.2:1099/
JNDI lookup is successful. However, if I set java.naming.provider.url to jnp://192.168.0.3, the following error is thrown.


Please advice.

Regards
Nitin
12 years ago
Hello Forum,

I need advise on the tool that I should use for Job Scheduling in my application. The options that I have are

  • EJB Timer Service
  • Quartz Scheduling


  • The application is to be deployed in a JBoss5.1.0 Cluster and makes use of EJB3 and JDK6 standards.

    Thank you,
    Nitin
    Thank you Peter.

    JBoss has started without any issues.

    Regards,
    Nitin
    12 years ago
    Hello Peter,

    I plan to deploy the WAR files in separate webserver on a different machine. I am not sure if you will agree, but I plan to use the JBoss AS for the EJB files. The application is security sensitive and the requirement is to separate out the FE from the middle-ware.

    Your advice will be highly appreciated.

    Thank you,
    Nitin
    12 years ago
    Hello Forum,

    Please advise me on the configuration changes that I need to make to the application server to disable JBossWeb.

    Thank you,
    Nitin
    12 years ago
    Hello Forum,

    I would like to setup a big business application in a clustered environment. The application’s FE is developed using Struts framework and is served by the EJBs. The enterprise application is successfully deployed on JBoss 5.1 and contains multiple EJB jars and WAR. Currently, I have successfully deployed the application on the JBoss AS running on two different machines. I have configured Apache HTTP Server 2.2.17 to JBoss HTTP request routing using mod_jk.

    The next thing I would like to do is move the war files from JBoss to separate machines running web servers. So the cluster will have Apache HTTP Server, then 2 web servers on separate machines. Thereafter will be 2 machines running 2 JBoss AS independently, which will further connect to the DB servers.

    The queries are
    1. Is it advisable to move the war files out of the JBoss AS and deployed on a separate web server?
    2. Which web server should be used?

    Thank you,
    NJ
    12 years ago
    Hello,

    I am working on a java project, which needs to incorporate
    Internationalisation and Localisation. It has been suggested that the
    locale specific ".properties" (errormessages_ar.properties) that
    contain UNICODE equivalent of the Arabic text in my case.

    My questing is why not use the Arabic text messages rather than their
    UNICODE equivalent in the "xyz_ar.properties." file? What problems will
    this cause?

    All suggestions will be highly appreciated.

    Thank you,
    Nitin
    16 years ago
    Thank you very much for the information.

    NJ
    16 years ago
    Hello!

    I would like to install Tomcat on Vista Ultimate 64 bit OS. Please suggest, which version of Tomcat will the compatible with it.

    Thank you,

    NJ
    16 years ago
    Hello!

    I would like to install Oracle Database on Vista Ultimate 64 bit OS. Please suggest, which version of Oracle Database will the compatible with it.

    Thank you,

    NJ
    16 years ago
    Hello!

    I would like to install Weblogic Application Server on Vista Ultimate 64 bit OS. Please suggest, which version of WebLogic will the compatible with it.

    Thank you,

    NJ
    16 years ago