| |

VerySource

 Forgot password?
 Register
Search
View: 1036|Reply: 6

Can bni / s system use jni to control client's peripherals (card reader)

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-2 15:40:01
| Show all posts |Read mode
Recently I was doing a medical examination software, b / s architecture, the implementation of the operation of the card reader is to use jni to call a dynamic link library, this machine is no problem, after deploying on the server, I found that I cannot control the client's card reader, but read Take the server-side reader, can I use jni to control the peripherals of the client? If not, is there any other way? The system will be online soon, hurry up, if you know the trouble, thank you ~
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-23 09:30:01
| Show all posts
Now that I have the same problem as you, can JNI control the client's peripherals?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-23 09:45:01
| Show all posts
If you want to read the peripherals of the client, the relevant program must be installed on the client machine, and the card reader itself cannot communicate with your server.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-23 10:00:01
| Show all posts
It doesn't seem to work. APPLET can't call JNI either. You may need to write a component on the client.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-23 10:15:01
| Show all posts
■■The domestic "kangaroo_egg" web server is officially released, free and open source

    Most people in java middleware know tomcat, an open source and free web server, but today I will introduce a domestic self-developed web server, its name is

"Kangaroo_egg" is also open source and free, but it is not running the JSP scripting language, but the DQM scripting language developed by itself, which has its own container for executing DQM dynamics

File, we call it DQM container. DQM is very similar to JSP, but simpler than JSP, so if you know JSP then you only need to look at DQM to understand.
   So what are the characteristics of this server?
  1. No need to configure XML files: In the past, we often need to configure XML files when using J2EE servers, but kangaroo_egg does not need it, even when using MVC structure, it is also dynamic

Logical control of the page.
    2. Perfect internationalization support: every method involving content output or reading has overloaded the method with character set, so there is no need to write troublesome filters, just simple

Provides the character set currently needed.
  3. Conditional file output: BBS web programs often encounter such a situation, allowing users to upload files by themselves, and the uploaded files must meet certain conditions before they can be accessed

Question (read, download), some conditions mentioned here, such as only logged-in users can access, or can access after purchasing BBS theme, etc. Similar situations are also present in other web applications

Many, how to achieve this function? We used to write a servlet for conditional file output, but this would be very troublesome. If you want to support the need for resumable upload

If you have to write a lot of programs, it is even more difficult to output files in full compliance with the HTTP protocol. In kangaroo_egg, you only need to simply use the built-in methods.
  4. Command built-in object: kangaroo_egg has a brand-new built-in object command. The user can view or modify the current server information through this object. This object can also

To modify some settings of the server without stopping the server, such as soft restarting the server without interrupting the service.
   5. Generate a static page: pass. In some cases, the content of a dynamic page will remain unchanged for a long time after execution, but there are many people who visit it. If a static page is generated, the execution can be eliminated.

The overhead of running dynamic files and reading the database. kangaroo_egg has a built-in function of automatically generating static pages, which can be automatically generated by simple programming.
  5. Compile and hide the source code: kangaroo_egg can turn off the automatic compilation function and only run the compiled page, while providing the ability to compile the entire web application and hide the source code of the dynamic page

Function.

   The official website of the kangaroo_eggweb server: http://kweb.go.3322.org
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-23 10:30:01
| Show all posts
The client needs to register the card reader to call in the ocx webpage
Reply

Use magic Report

0

Threads

9

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

Post time: 2020-8-23 10:45:01
| Show all posts
mark!
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list