Anything better than P6Spy? [closed] - sql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am planning to use P6Spy to intercept database statements within our architecture. However, I noticed on the P6Spy website that the last release of the software was back in 2003. Is there anything out there that is better or should I just stick with P6Spy?

Some other tools and libraries that are similiar to P6Spy.
Craftsman Spy appears to overlap quite a bit with the feature set in log4jdbc. This library hasn't been updated in 2 years and depends on Jakarta Commons Logging.
JAMon (Java Application Monitor) is a comprehensive application monitor and monitoring API which includes JDBC/SQL monitoring as part of it's very large feature set.
JdbcProxy The driver can also emulate another JDBC driver to test the application without a database.
LogDriver appears to be similiar to log4jdbc and the author has written a nice article on JDBC logging in general and his motivation and experience of writing LogDriver.
yet another JDBC logger
log4jdbc-remix an experimental fork of log4jdbc with some interesting features.
jdbcdslog Another new jdbc wrapper with a lot of crossover with log4jdbc features.
SqlRecorder A library that is a wrapper around a JDBC driver to record all executed queries to different locations like a file,console or any other remote server via plugins.
log4jdbc-log4j2 Another fork of log4jdbc that includes the log4jdbc-remix fork and other features of it's own.
Source: https://code.google.com/archive/p/log4jdbc/

P6Spy has been under active development ago for a while now. The 2.0 version has also just been released. It now supports use without any configuration file for some use cases. It has also been updated to the JDBC 4.0 API and is fully compatible is Java 6 & 7.
The project is also being developed on GitHub now. Updated documentation is available as well.

I started using log4jdbc when p6spy wouldn't work on a precompile project that did its own driver discovery. log4jdbc has you change the DB connection url which we found simpler to setup. It also doesn't require a separate configuration file (spy.properties) and it is actively worked on. I'm not going to touch p6spy again.

We still use P6Spy with our Weblogic 8.1.5 with EJB2.0 and it works charms. I'm about to try and integrate it with Weblogic 10.3 and EJB3.0

Related

Loopback or Restify? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
Starting a new API, what gives the best security and speed? Loopback or Restify?
It seems that restify have more than 60,000 downloads last week, on the other hand Loopback is backed up by IBM and have plenty of plugins and security implemented by default.
Benchmark wise there is none to compare but I'm having issue installing Loopback on Nodejs 8 or 9 :
Command: sudo yarn global add loopback-cli
loopback-datasource-juggler#2.56.0: The engine "node" is incompatible
with this module. Expected version ">= 4 <= 6".
What platform should I start my API with? I could wait for Loopback to support node 8 or 9.
I hope I can get an answer even though it might be subjective. I really need some insight on this.
Edit: Added the command used to install loopback. Also thanks for providing insights even if this is not really a pure SO question.
Restify
Restify is a relatively old player in the Node.js API field, very stable and being actively developed. It is purpose-built to enable you to build correct REST web services and intentionally borrows heavily from Express.
The main advantages are :
Automatic DTrace support for all your handlers (if you’re running on a platform that supports DTrace).
Doesn’t have unnecessary functionality like templating and rendering.
Built in throttling.
Built in SPDY support.
The main disadvantage with Restify as they are with Express requireslots of manual work.
Loopback
Restify is a great starting point, but in the long run it might not be the right choice if you plan on investing heavily into APIs.LoopBack is a fully featured Node.js backend framework to connect your applications to data via APIs. It adopts the convention over configuration mantra popularized by Ruby on Rails.
The main advantages are :
Very quick RESTful API development.
Convention over configuration.
Built-in models ready to use.
RPC support.
Fully configurable when needed.
Extensive documentation.
Full-time team working on the project.
Online support support.
The main disadvantage is that learning curve can be pretty steep because there are so many moving parts.
You can now decide yourself according to your needs. I hope it helps

Testing a Windows service, for an application with client-server architecture [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I am a software test engineer and want to test a new windows service for my application which has a client server architecture. The service keeps running on the background and checks for the database updates. It is developed by Delphi. The developers have debugged and tested the service. My question is what should be the testing approach to test a windows service, or what kind of test should a tester have to perform on a windows service? And how can this test be executed?
Based on the information provided, it's unclear whether you have access to the source code or not. Typically, testing against software is done with a testing framework against the source code using unit tests and integration tests.
If you do have access to the source code, the best course is to refactor any domain specific functionality out of the service project into a class library. You can then create a testing project which references the class library and write unit and integration tests against your classes.
If you do not have access to the source code, then you need to evaluate the software based on the task it is supposed to perform. You may have some specifications about what the software is expected to do. Compare the software's performance to any specifications that the software is supposed to meet.
The typical interface for a Windows service is Start and Stop. After you install the service and send those commands to the service, does it respond as expected?
Review the logs. Are there any exceptions being logged? Why are those exceptions occurring? Is there information that you need in the logs to evaluate performance that isn't there?

How to develop Asp.Net application for Ubuntu using vs 2015 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am a windows user and I have a requirement to develop an asp.net application which should run on both windows and Ubuntu servers.
I tried this installing Ubuntu on VM workstation player and downloading Mono, DNX, DNVM and visual studio code. But this is very hard for me since I am familiar with neither Ubuntu nor VS Code.
Is there any method to develop cross platform applications using VS 2015 on windows environment and build packages for other platforms such as Linux, OS X ?
Moreover I would like to know which web server is the most suitable for run .Net application on Ubuntu.
There are a few ways to do this depending on your needs and the context. It is possible to develop using VS2015 on Windows and to deploy to Apache 2 with mod_mono (best option imho) or possibly to Mono XSP4 (this web server has some limitations) or if you're game for a challenge you could use kestrel and dnx. You should also be able to open and continue developing your existing VS2015 project on Linux using MonoDevelop, which may make your life easier for debugging. In either scenario I would recommend that you give yourself the time and opportunity to familiarise with Apache, Linux etc. as you go. Happy to help further but I'm not sure quite what your context is...

Testing html/css/javascript in different browsers [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
IE6,IE7,IE8,IE9,Opera10,Chrome,FF,Safari... what else?
How do you organize your workspace to efficiently test html/css/javascript in all these browsers? What software are you using to make all this browsers working on a single PC?
Especially I'm interested in testing different versions of IE.
Thank you!
There are different online services. None of them are perfect but you may give a shot:
Adobe BrowserLab (edit: Shutdown on Mar 13, 2013)
Browser Cam
Browser Shots
Web Shots Pro
Recommended by Adobe as replacements for "BrowserLab":
Browser Stack
Sauce Labs (They have an offer for BrowserLab users)
I use virtual environment for different versions of the same browser
Use a VM, like Microsoft's Windows XP mode and install Multiple IEs http://tredosoft.com/Multiple_IE. This allows for all Internet Explorers supported by XP and the others can be installed in Vista/Windows 7 should you use that.
Concurrent installation of Firefox versions in different locations and profile folders works.
We have recently released Browserstack, an online cross browser testing tool in beta.
All browsers are readily available for interactive testing without any need for local setup or Virtual Machines. All Browsers have debugging tools installed and you can test your local server in our remote browsers. There are many more features we provide for easy testing.
I hope our product can make your cross browser testing easier.

Web hosting for Mono? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I see a lot of linux-based PHP hosting solutions in the $5/month range. Does anybody know of one in that range that uses/can use Mono? I've written some C# code I want to use, but want to avoid ASP.NET.
I don't know why no one said this. But if you are developing a website using mono and c#, you are using asp.net... just a linux implementation of it.
I've found another free host
http://www.heliohost.org/
It explicitly states that it uses mono.
Mono Project Web Hosting should do:
The Mono Project (a.k.a. mod_mono) is an open-source .NET Framework emulation tool for Linux sponsored by Novell. Through Mono, we have assembled a simple and easy-to-use web hosting platform which bridges the gap which previously existed between Windows and Linux hosting providers. What was once properietary Microsoft technology has been made available to the open-source developer community, and supplied right here with our premium Linux hosting service.