|
i have created jar file ,and .exe file file but when i run on another desktop .....shows error sql server exception
|
|
|
|
|
Sorry but that does not really tell us anything. What is the exception and where doews it occur?
|
|
|
|
|
what is the step of create setup file which can run client machine ...and i have created jar file through clean and build tool..but he is don,t run on client machine
|
|
|
|
|
i hava created an application program with sql server database as backend
and i have created an executable jar file with netbeans "clean and build tool"
now a have moved this jar with dist folder to another system but it can not access the database
Plz tell me where we will put database to run application properly
|
|
|
|
|
Since you have still not provided any useful information I cannot possibly make any suggestions.
|
|
|
|
|
Hi;
I would release an application in java that allows an offline recognition of old arabic handwritten using neural networks(PMC, back propagation, activation function sigmoide).
so I have extracted with hand the characters from an old scanned handwritten picture and applicate for each of them the pretraitement step, in result it generates a matrix of 8*8 that gives the percentage of black pixels in the character.
Next I have to release the learning step using neural networks, so I have normalized each the values of each matrix between 0 and 1(to use the sigmoide function) and transforme this matrix for a line vector so that it correnpends like input for the neural network(so now I have a line vector of 64 elements like input data for the neural network).
like output I have the same vector correspending for the good written character of each character.
I save the results(the error of each epoch, and the error activation of the neural output for each input) in a wampserver database for esch character.
Now I would go to the step of recognition, but I have no idea of how starting implementing it using the results of the learning step.
please can you help me?
|
|
|
|
|
This is not a matter of a few simple lines of code; image and character recognition is more complex. You should do some research (via Google) into both subjects to see some of the algorithms and processes that are commonly used.
|
|
|
|
|
Thank you for answring, Yes this is true, and I'm searching in google since months. But as I have understood about what I have read of neural networks documents, the recognition is integrated in the learning step(I don't know if what I have understood is true or false). Do you have websites or links to suggest for me?
|
|
|
|
|
Member 12540619 wrote: Do you have websites or links to suggest for me? Sorry, no. Why would I have more links than Google knows about?
|
|
|
|
|
Guys I was thinking to learn Spring but have few questions:
--- is it say more difficult to learn than .NET?
I am asking this because I want to evaluate: I learned C# and .NET (desktop side and BCL) very easily because of background in C. So if Spring and .NET are more or less similar in terms of programming style and complexity, I could know that I will be fine also with spring.
Can you please give me some guide in this direction?
|
|
|
|
|
Member 12061600 wrote: is it say more difficult That is impossible to answer objectively, because much depends on the individual. The only way to find out is to read some of the overview materials: Java Spring - Google Search[^]
|
|
|
|
|
Basically Spring is a framework for dependency-injection which is a pattern that allows to build very decoupled systems.
For example, suppose you need to list the users of the system and thus declare an interface called UserLister:
public interface UserLister {
List<User> getUsers();
}
And maybe an implementation accessing a database to get all the users:
public class UserListerDB implements UserLister {
public List<User> getUsers() {
}
}
In your view you'll need to access an instance (just an example, remember):
public class SomeView {
private UserLister userLister;
public void render() {
List<User> users = userLister.getUsers();
view.render(users);
}
}
Spring (Dependency Injection) approach
What Spring does is to wire the classes up by using a XML file, this way all the objects are instantiated and initialized by Spring and injected in the right places (Servlets, Web Frameworks, Business classes, DAOs, etc, etc, etc...).
Going back to the example in Spring we just need to have a setter for the userLister field and have an XML like this:
<bean id="userLister" class="UserListerDB" />
<bean class="SomeView">
<property name="userLister" ref="userLister" />
</bean>
It is great, isn't it? 
|
|
|
|
|
What is the good use-case example for Java generics besides collection framework?
It is extremelly hard to create good design using Java generics, mainly because of type erasure and no generic type information at runtime.
I'm pretty new to Java, however it looks like that the only "real-world" purpose for Java generics - is collection framework.
I was curious what are the other good "real-world" examples for generics in Java.
Can anyone give a hint?
|
|
|
|
|
|
Why is that the Mapped Drives is not listed on this method? It can read Flash Drives. I am using Windows 10, is this the factor? I tried opening a JFileChooser and mapped drives is also not found.
I also try using the file exist
System.out.println(new File("Z:\\test.txt").exists());
System.out.println(new File("\\\\192.168.23.111\\Shared Files\\test.txt").exists());
- Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.
- Most of the problem in your life are due to two reasons: you act without thinking, or think without acting.
|
|
|
|
|
I want educational program to teach java
and to be write by java 
|
|
|
|
|
|
what configurated a bootstrap with spring mvc 3 and tomcat in eclipse
|
|
|
|
|
|
arr = [6,3,9,0];
repmat(arr,2,1,2) method in matlab produce a format which is :
L(:,:,1) =
6 3 9 0
6 3 9 0
L(:,:,2) =
6 3 9 0
6 3 9 0
****************************************************************
the java code is :
i<pre lang="java">mport java.util.*;
class test23{
public static void main ( String [] args ) {
int[] arr = {6,3,9,0};
test23 test = new test23();
System.out.println(Arrays.deepToString(test.repmat(arr,3,1)));
}
public static int[][] repmat (int[] array, int rows, int columns)
{
int arrayLength = array.length;
int resultColumns = arrayLength * columns;
int[][] result = new int[rows][resultColumns];
int z = 0;
for (int r = 0; r < rows; r++)
{
for (int c = 0; c < resultColumns; c++)
{
result[r][c] = array[z++];
if (z >= arrayLength)
{
z = 0;
}
}
}
return result;
}
}
the java out put is : [[6,6],[3,3],[9,9],[0,0]],[[[6,6],[3,3],[9,9],[0,0]]
************************************************** ******************************
it does not produce a copy array format as repmat() in matlab.
please any suggestion.
|
|
|
|
|
When I run that code, my output is:
C:\Users\Richard\Documents\Java>java Test
[[6, 3, 9, 0], [6, 3, 9, 0], [6, 3, 9, 0]]
|
|
|
|
|
How to send mail to lotus notes 9 ? is the same as the setting to send mail gmail or yahoo
.. 
|
|
|
|
|
In my project I defined some alternatedocroot parameters.
This used to work, but after investigating an error I received from a user it seems now it returns a 404 for all resources in that folder. I hadn't changed the glassfish-web.xml so I have no idea why it doesn't work anymore.
I checked the docs, I googled, checked again and googled again, but nothing works. I also tried adding the parameters to the domain.xml on the server and I tried a bunch of alternative url formats just to make sure.
Anyone have an idea on this?
glassfish-web.xml file under < jsp-config > tag:
<property name="alternatedocroot_1" value="from=*.xls dir=/data/StaffExport"/>
<property name="alternatedocroot_2" value="from=*.txt dir=/data/StaffExport"/>
<property name="alternatedocroot_3" value="from=*.csv dir=/data/StaffExport"/>
<property name="alternatedocroot_4" value="from=*.htm dir=/data/StaffExport"/>
this looks ok to me. Server glassfish version is 3.1.2
If anyone can give some clues on what the problem might be, let me know.
modified 13-May-16 5:28am.
|
|
|
|
|
This is not a Java question, you would be better asking in one of the Web Development forums.
|
|
|
|
|
sure. What is the proper way to do it? Delete here and re-add there?
Else I get "don't cross post" replies
|
|
|
|